HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Arithmetic > problem:


50554 - nth power of m

Guest
• Review clarifications (3)

Section problems

• 51032 - Triangle Property
• 51033 - Sum of the series
• 50917 - Descending Numbers
• 51027 - Download Percentage
• 51028 - Isosceles Triangles
• 51031 - Convert from Hex to Dec
• 51030 - Number of Right Triangles
• 50553 - Divisible by m
• 50554 - nth power of m
• 50565 - Binary numbers
• 50574 - Triangular Numbers
• 50578 - Mersenne prime
• 50581 - The roots of a quadratic eq...
• 50595 - Sum of the numbers
• 50599 - Sum of Squared Error (SSE...
• 50609 - Long division
• 50548 - Albanian Airlines

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