Run ID:72618

提交时间:2024-05-12 09:14:27

#include<bits/stdc++.h> using namespace std; int o_y=1,o_x=0,o_c=0,i; int n_y=0,n_x=0,n_c=0; int main(){ for(i=1;i<=8;i++){ n_x=o_y; n_c=o_c+o_x; n_y=n_c; o_y=n_y; o_x=n_x; o_c=n_c; } cout<<n_y<<" "<<n_x<<' '<<n_c; return 0; }