Well, I think PHP is great, but apparently somebody thinks that it is replacble in most cases if it is not with MySQL Many online judges support PHP submissions. …
The problem is from codeforces http://www.codeforces.com/problemset/problem/158/B Solution is easy: First you need to sort the group numbers in desending order. You create two index pointers, pointing to the start …
Well, sometimes, you probably need to optimise your MySQL tables. In order to avoid the hassle loggin to your remote SSH server, you probably want to write a script …
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 …
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, …