HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Volumes > Repetition (Loops) > problem:


002. 50554 - nth power of m

Guest
• Review clarifications (3)

Volume problems

• 51046 - The biggest number
• 50867 - Average of the Best Grades
• Reflektimi i pikes
• 50994 - The Most Crowded Station
• 51194 - The difference between max...
• 001. 50385 - From m to n
• 002. 50365 - Sum of the numbers f...
• 002. 50452 - Multiplication Table
• 002. 50554 - nth power of m
• 003. 50387 - Passengers in the Train
• 003. 50358 - Series of Odd Numbers
• 004. 50424 - Area
• 004. 50522 - Multiplication Table - 2
• 005. 50297 - Divisible By Five
• 006. 50293 - Sum of odd numbers f...
• 007. 50401 - Sum of Odd Numbers
• 009. 50783 - The smallest number

Feedback

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

Time limit 2000/4000/4000/4000 ms. Memory limit 65000/65000/65000/65000 Kb.
Prepared by Ibrahim Mesecan.

nth power of m

Shqip
Get two numbers n and m, and then calculate the nth power of m.

Input specification
There will be two numbers in the input file which are between 1 < n, m ≤ 9.
Output specification
Calculate and show the result followed by an endline.

Input 1 Input 2
3 4 7 2
Output 1 Output 2
64
128

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

www.contester.ru