ГлавнаяСборникиТурнирыРазделыФорумыУчастникиПечатьПомощьО системе

Разделы > Неотсортированные > задача:


X to the power of Y

Задачи раздела

• Tetris 3D
• Bit Decoder
• Knights of the Rook
• Coins
• Primes
• Providers
• A to the power of B
• A Palace with Many Columns
• X to the power of Y
• A+B
• T-shirts
• SAME OR DIFFERENT
• GCF
• REVERSE ORDER OF WORDS
• Factorial
• Maximum
• Name-Surname

Обратная связь

Если у вас есть предложения или пожелания по работе Contester, посетите форум сайта www.contester.ru.

Лимит времени 1000/1000/1000/1000 мс. Лимит памяти 65000/65000/65000/65000 Кб.

Problem description

Write a program that computes X raised to the power Y (XY) where X and Y are both integer numbers and Y is non-negative. X is the base (mantissa) and Y is the exponent value.
To get the result we have to multiply X, Y times. For example for X=5 and Y=3, the result will be 5*5*5 = 125.

Input

There are two integers X and Y on the first line of input (0 ≤ Y, |XY| < 263 ).

Output

Write value of XY.

Example

stdin stdout

3 2

9

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

www.contester.ru