Run ID:135035

提交时间:2025-11-02 11:38:25

#include <iostream> using namespace std; int n,m; void top(long long n,int m) { if(m>=2) { n*=n; m-=1; top(n,m); } else { printf("%lld",n); } } int main() { scanf("%lld %d",&n,&m); top(n,m); return 0; }