Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
1021 | 曾浩森 | 14兔子问题 | C++ | Wrong Answer | 0 MS | 256 KB | 230 | 2023-06-24 14:27:34 |
#include<iostream> using namespace std; int main(){ int a=1,b=0,c=0,d,e; for(int i=0;i<8;i++){ e=b; b=a; c=e+c; a=c; d=a+b+c; } cout<<a<<" "<<b<<" "<<c<<" "<<d; }
------Input------
0
------Answer-----
13 8 13
------Your output-----
13 8 13 34