| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 72424 | 李雨昊 | 角谷猜想 | C++ | Output Limit Exceeded | 0 MS | 264 KB | 290 | 2024-05-05 19:14:32 |
#include<iostream> #include<cstdio> #include<cstring> #include<cmath> #include<iomanip> using namespace std; int main() { int a; while (1){ if (a%2==0){ cout <<"a/2="<<a/2; } else { cout<<"a*3+1="<<a*3+1; } if (a==1){ cout <<"End"; } } }