Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
68466 李明择 14兔子问题 C++ Wrong Answer 1 MS 264 KB 248 2024-03-23 14:41:58

Tests(0/1):


Code:

# include<bits/stdc++.h> using namespace std; int main(){ int yt=1,xt=0,ct=0; int y,x,c; for(int i=1;i<=8;i++){ y=yt; x=xt; c=ct; yt=x+c; xt=y; ct=c+x; } cout<<yt<<' '<<xt<<' '<<ct<<' '<<yt+xt+ct; return 0; }


Run Info:

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