| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 148024 | 欧阳俊懿 | 14兔子问题 | C++ | Accepted | 0 MS | 264 KB | 453 | 2026-02-09 14:08:54 |
#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 yt=1,xt=0,ct=0; int yt1=0,xt1=0,ct1=0; for(int 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; }