| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 130211 | 郝王骏程 | 斐波那契数列(递归) | C++ | Time Limit Exceeded | 1000 MS | 264 KB | 448 | 2025-09-08 20:31:38 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; long long akm(long long m){ int s=1; m+=m-s; if(s==0) return m; s+=1; return akm(m); } int main(){ int d; cin>>d; cout<<akm(d); return 0; }