Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
2202 | 张宸瑜 | 14兔子问题 | C++ | Wrong Answer | 0 MS | 256 KB | 318 | 2023-12-16 18:24:01 |
# include<iostream> # include<cstdio> # include<iomanip> using namespace std; int main(){ int a=0,b=0,c=1,d,e; for(int i=1;i<=8;i++){ d=b; b=c; a=a+d; e=a; c=e; cout<<a<<" "<<b<<" "<<c<<endl; } cout<<a<<" "<<b<<" "<<c; return 0; }
------Input------
0
------Answer-----
13 8 13
------Your output-----
0 1 0 1 0 1 1 1 1 2 1 2 3 2 3 5 3 5 8 5 8 13 8 13 13 8 13