Run ID:101148
提交时间:2024-12-14 15:13:09
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int a(int x,int n){ if(n==1) return x; else return a(x,n-1)*x; } int main(){ int q,e; cin>>q>>e; cout<<a(q,e); return 0; }