Run ID:149516

提交时间:2026-03-13 19:24:43

#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,ct0=0,yt0=1,xt0=0; for(int i=1;i<=8;i++){ yt=ct0+xt0; xt=yt0; ct=xt0+ct0; yt0=yt; xt0=xt; ct0=ct; } cout<<yt<<" "<<xt<<" "<<ct; }