Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
3219 | 莫业祁 | x的n次方 | C++ | Runtime Error | 1997 MS | 268 KB | 220 | 2024-04-20 16:33:43 |
# include<iostream> # include<cmath> using namespace std; int mi(int x,int n){ if(n==1) return x; return mi(x,n-1)*x; } int main(){ int y,m; cin>>y>>m; cout<<mi(y,m)<<endl; return 0; }
Runtime Error:[ERROR] A not allowed system call. Call ID:275