HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Arithmetic > problem:


50661 - nth Power of a Digit

Guest
• Discussion of problem (1)

Section problems

• 50571 - Armstrong Numbers - 2
• 50572 - Palindromic Numbers
• 50582 - Number of digits
• 50583 - Max of 3 numbers
• 50585 - Inner Product
• 50587 - Modular Conversion
• 50633 - The prime factors
• 50650 - Prime numbers
• 50661 - nth Power of a Digit
• 50249 - Ladders
• 50641 - Strong Prime Power
• 50640 - Cubes
• 50412 - K numbers
• 50310 - Kinetic Energy
• 50316 - Population Bar Chart
• 50314 - Falling Distance
• 50392 - How much space

Feedback

If you notice incorrect translations in Contester, please let author know.

Time limit 3000/4000/4000/4000 ms. Memory limit 65000/65000/65000/65000 Kb.
Автор: Фёдор Меньшиков, ВГПУ. Difficulty Alpha

Для натуральных чисел a и n вычислить an.

Ввод
В первой строке находятся разделённые пробелом a и n.
Вывод
Выводится одно число - результат без стоящих впереди нулей, стоящих впереди и позади пробелов.
Ограничения
1 ≤ a ≤ 9; 1 ≤ n ≤ 7000.

Ввод 1 Ввод 2
3 20
5 50
Вывод 1 Вывод 2
3486784401
88817841970012523233890533447265625

Для отправки решений необходимо выполнить вход.

www.contester.ru