| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 15552 | 马德理666 | 递归求和 | C++ | Accepted | 0 MS | 244 KB | 226 | 2023-04-23 22:28:41 |
#include<bits/stdc++.h> using namespace std; int baba[10]= { 20, 31, 10, 5, 101, 89, 4, 11, 19, 54 }; int abab(int n){ if(n==0) return baba[0]; return abab(n-1)+baba[n]; } int main(){ cout<<abab(6); return 0; }