結果 : helpful maths codeforces solution c++