Run ID:148024
提交时间: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; }