| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 155399 | 殷佳雨萱 | x的n次方 | C++ | Runtime Error | 44 MS | 65792 KB | 202 | 2026-06-07 11:29:22 |
#include<bits/stdc++.h> using namespace std; long long cf(int x,int y){ if(y==1) return x; else{ return cf(x,y-1)*x; } } int main() { int x,n; cin>>x>>n; cout<<cf(x,n); return 0; }
Runtime Error:Segmentation fault