Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
129608 黄俊然 14兔子问题 C++ Wrong Answer 1 MS 256 KB 485 2025-08-29 19:24:26

Tests(0/1):


Code:

#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 ct0=0,xt0=0,yt0=1,ct=0,xt=0,yt=1; for(int i=1;i<=8;i++){ ct0=ct; xt0=xt; ct0=ct; yt=ct0; xt=yt0; ct=ct0+xt0; } cout<<ct<<" "<<xt<<" "<<ct; return 0; }


Run Info:

------Input------
0
------Answer-----
13 8 13
------Your output-----
7 1 7