Codeforces: A. Soft Drinking May 31, 2012 beginner, codeforces, implementation, math, python No Comments 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. … [Continue Reading...]