Run ID:68468
提交时间:2024-03-23 14:43:12
#include<bits/stdc++.h> using namespace std; int main(){ int yt=1,xt=0,ct=0; int y,x,c; for(int i=1;i<=8;i++){ y=yt; x=xt; c=ct; yt=x+c; xt=y; ct=c+x; } cout<<yt<<' '<<xt<<' '<<ct; return 0; }