| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 74713 | sh25_shenpy | 斐波那契数列_记忆化递归 | C++ | Time Limit Exceeded | 1000 MS | 252 KB | 236 | 2025-11-30 20:39:36 |
#include<bits/stdc++.h> using namespace std; int f(int n) { if(n==1||n==2){ return 1; } else{ return f(n-1)+f(n-2); } } int main() { int n; cin>>n; cout<<f(n); return 0; }