blob: 1bfe5f5542880c68a9497cd93850abd460846377 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
#include <iostream>
int main() {
unsigned int x, n;
std::cin >> x >> n;
unsigned int xToPowerOfN = 1;
for (int i = 0; i < n; i++) {
xToPowerOfN *= x;
}
std::cout << xToPowerOfN << std::endl;
}
|