| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 68643 | 殷震轩 | 斐波那契数列(递归) | C++ | Runtime Error | 26 MS | 65796 KB | 209 | 2024-03-24 10:30:44 |
#include<bits/stdc++.h> using namespace std; long long yin(int x,int n) { if(n==0) { return 1; } return yin(x,n-1)*x; } int main() { int n,x; cin>>x>>n; cout<<yin(x,n); return 0; }
Runtime Error:Segmentation fault