Category: tricks
Please see some notes at here: https://helloacm.com/notes-on-python-syntax/ Python is great, when I learn more, I really find it flexible and powerful. 1. Initialise one dimension array by zeros x …
The problem is from codeforces: http://www.codeforces.com/problemset/problem/1/A Given the size of the area and the size of the flag stone, you are asked to compute the minimal number of flagstones …
The problem is from codeforces: http://www.codeforces.com/problemset/problem/4/A The problem is so easy that you might even falls into the trap (you might think judging if it is even or odd). …
May 19, 2012
beginner, brute force, code, code library, codeforces, implementation, math, programming languages, python, tricks
The problem is from codeforces http://www.codeforces.com/problemset/problem/82/A This is interesting because it seems like those guys thing: acting strange. This problem can be transformed into the following: 12345 1122334455 11112222333344445555 …
COM technolgy is very mature and common. It is almost everywhere in Windows platform. In order to access COM objects in Python, you probably require to install ‘Win32 extension …