Run ID:58702

提交时间:2023-09-29 16:32:02

#include<iostream> #include<cstdio> using namespace std; int main(){ int y=1,x=0,c=0; int a,b,n; for(int t=1;t<=8;t++){ a=y; b=x; n=c; y=b+n; x=a; c=b+n; } cout<<y<<' '<<x<<' '<<c; return 0; }