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