| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 72683 | sh25_zhuwy | 菲波那契数 | C++ | Accepted | 1 MS | 244 KB | 197 | 2025-11-02 13:48:16 |
#include<bits/stdc++.h> using namespace std; int main() { int k; cin>>k; int a[k]; a[0]=1; a[1]=1; for(int i=2;i<k;i++) { a[i]=a[i-1]+a[i-2]; } cout<<a[k-1]; return 0; }