| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 78368 | 杨珞烯 | 15相同数的次数 | C++ | Accepted | 0 MS | 260 KB | 252 | 2024-06-18 19:48:13 |
#include <iostream> using namespace std; int main(){ int ci =0,sum=0,xt=0,xl=0; while(ci<1000){ ci++; xt++; xl++; if(xt==21){ xt=1; } if(xl==31){ xl=1; } if(xl==xt){ sum++; } } cout<<sum; return 0; }