Run ID:97059

提交时间:2024-11-10 12:00:18

#include<bits/stdc++.h> using namespace std; int sum; long long x,y; int age(long long a,long long b){ if(b==1){ return a; } else if(b==0){ return 1; } else{ return age(a,b-1)*a; } } int main(){ cin>>x>>y; cout<<age(x,y); return 0; }