Category: python
The problem is from codeforces http://www.codeforces.com/problemset/problem/49/A Just came back from Tesco, have shopped for the food next week. Feeling a bit tired, however, I enjoy solving small problems using …
This problem is from http://www.codeforces.com/problemset/problem/190/A It is a pure math problem. However, you have to be careful enough to consider different cases. For example, if there are no adults, …
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 …
This is from http://www.codeforces.com/problemset/problem/131/A The python does not allow altering string, because it seems the string is immutable. For example, if you try the following. s = "1234" s …
May 15, 2012
algorithms, beginner, brute force, code, code library, codeforces, implementation, math, programming languages, python, tricks
The problem is from codeforces, http://www.codeforces.com/problemset/problem/11/B Jack is originally standing at zero point. He can walk left or right at an increasing step. We suppose Jack always walks towards …