Run ID:109612

提交时间:2025-02-09 19:52:01

#include<iostream> using namespace std; int main(){ int i; int a=1,b=2,c=3; int nowA=0,nowB=0,nowC=0; for(i=1;i<=8;i++){ nowA=b+c; nowB=a; nowC=c+b; a=nowA; b=nowB; c=nowC; } cout<<nowA<<" "<<nowB<<" "<<nowC<<endl; return 0; }