Run ID:68289
提交时间:2024-03-22 20:24:01
#include<bits/stdc++.h> using namespace std; int n(int m,int f){ if (f==1){ return m; }else{ return m*n(m,f-1); } } int main(){ int h,g; cin>>h>>g; cout<<n(h,g); return 0; }