| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 148021 | 欧阳俊懿 | 14兔子问题 | C++ | Wrong Answer | 0 MS | 260 KB | 490 | 2026-02-09 14:07:00 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int xt=0,yt=1,ct=0,xt1=0,yt1=0,ct1=0; for(int i=1;i<=8;i++){ yt1=xt+ct; xt1=yt; ct1=xt+yt; yt1=yt; xt1=xt; ct1=ct; } cout<<yt1<<" "<<xt1<<" "<<ct1; return 0; }
------Input------
0
------Answer-----
13 8 13
------Your output-----
1 0 0