codeforces; pow can be used with integral types since C++11