Tag: online judge
The problem is from codeforces: http://www.codeforces.com/problemset/problem/102/B The input can be very large, you might wonder to use long arithmetic via arrays. However, it might be easier than you think. …
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 …
The problem is from codeforces http://www.codeforces.com/problemset/problem/12/A This is probably the easiest problem I’ve ever seen in codeforces…. no tricks, no math or algorithms. It is very straightforward. The python solution …
I have been learning Python for a short while and I like this language because it is very neat. Today, I suddenly realised there was an ongoing online contest, …
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 …