Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
126127 | 赵梓渊 | 桃子问题 | C++ | Wrong Answer | 0 MS | 272 KB | 232 | 2025-07-16 15:07:52 |
#include<bits/stdc++.h> using namespace std; int fblq(int a) { if(a==0) { return 0; } if(a==1) { return 1; } return fblq(a-2)+fblq(a-1); } int main() { int n; cin>>n; cout<<fblq(n); return 0; }
------Input------
0
------Answer-----
1534
------Your output-----
0