| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 334365 | 孙一铭 | 【C3-7】换钞票 | C++ | Memory Limit Exceeded | 0 | 89 MS | 96584 KB | 200 | 2025-07-18 09:55:41 |
#include<iostream> using namespace std; long long hsg(int n){ if(n==1) return 0; if(n==2) return 1; return hsg(n-1)+hsg(n-2); } int main() { int n; cin>>n; cout<<hsg(n); return 0; }