Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
148018 欧阳俊懿 14兔子问题 C++ Accepted 0 MS 260 KB 285 2026-02-09 14:03:41

Tests(1/1):


Code:

#include<iostream> #include<cstdio> using namespace std; int main() { int i; int yt=1,xt=0,ct=0; int yt1=0,xt1=0,ct1=0; for(i=1;i<=8;i++) { yt1=xt+ct; xt1=yt; ct1=xt+ct; yt=yt1; xt=xt1; ct=ct1; } cout<<yt1<<" "<<xt1<<" "<<ct1; return 0; }