Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
42571 邓湘涵 14兔子问题 C++ Accepted 0 MS 260 KB 178 2022-11-20 13:31:17

Tests(1/1):


Code:

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