HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Forums > Discussion of problems > topic:


Problem "50554 - nth power of m"

There is a contest!

В настоящий момент идёт турнир. Некоторая информация и функции сервера недоступны до его окончания.

imesecanSep.27.2015 at 04:13:37 PM
0-- Test 1 ---
4 3

--- Pattern ---
81

imesecanOct.01.2015 at 02:39:02 PM
1-- Test 5 ---
8 9

--- Pattern ---
43046721

imesecanMay.25.2017 at 02:23:11 PM
2If you use pow function, the output is double with a precision. This causes precision error for large numbers. When the expected output is integer, it's better to use integer calculation (using loops).

Pay attention that the number may exceed the integer limit


www.contester.ru