Category: math
The problem is from codeforces: http://www.codeforces.com/problemset/problem/151/A Based on the Note, it is purely a math problem (the equations can be easily derived.) The Python solution can be easily obtained. …
The problem is from codeforces: http://www.codeforces.com/problemset/problem/192/A The given input to this problem can be held by a four-byte integer (32-bit). It is to search for two numbers and such …
The problem is from codeforces: http://www.codeforces.com/problemset/problem/124/A Simply a math problem, however, using brute-force will pass the tests since the tests are weak (all numbers are smaller than 100) s …
The problem is from codeforces: http://www.codeforces.com/problemset/problem/173/A This is the first problem that I submited in codeforces. It is a math problem that computes how many games for two players …
The problem is from codeforces: http://www.codeforces.com/problemset/problem/69/A The tests were not strong because I failed at the 81-th test on the first submission using a wrong algorithm (actually I mis-understood …