Tag: math
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/137/B It took me several attempts to get it right for this problem although it is not difficult. The problem is find out how …
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). …