Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
148019 欧阳俊懿 14兔子问题 C++ Wrong Answer 0 MS 264 KB 490 2026-02-09 14:06:03

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


Run Info:

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