Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
129724 黄子轩 兔子永生 C++ 通过 100 0 MS 236 KB 274 2024-01-27 10:09:22

Tests(1/1):


#include<iostream> #include<cmath> #include<cstdio> using namespace std; int main() { int a=1,b=1; int i=0,j=0; cout<<a<<" "<<b<<" "; for(i=1;i<=38;i++){ j=a+b; cout<<j<<" "; if (i%4==2){ cout<<endl;} a=b; b=j;} }


测评信息: