Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
76361 欧阳槊远 14兔子问题 C++ Accepted 0 MS 260 KB 220 2024-06-02 13:50:21

Tests(1/1):


Code:

#include<iostream> using namespace std; int main(){ int yt=1,xt=0,ct=0; int a,b,c; for(int i=1;i<=8;i++){ a=xt+ct; b=yt; c=xt+ct; yt=a; xt=b; ct=c; } cout<<a<<' '<<b<<' '<<c; return 0; }