Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
224 B
0
Indexable
Never
#include <iostream>
using namespace std;
long long pow(int a, int b) {
	long long c = a;
	for (int i = 1; i < b; i++)
	{
		c*=a;
	}
	return c;
};

int main()
{
	int a, b;
	cin >> a >> b;
	cout << pow(a, b);
}