| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 94640 | 欧阳俊懿 | 15相同数的次数 | C++ | Time Limit Exceeded | 1000 MS | 244 KB | 268 | 2024-10-25 19:59:50 |
#include<iostream> using namespace std; int main() { int n,xt,xl,count; n=xt=xl=count=0; while(n<1000){ xt++; if(xt==21){ xt=1; } xl++; if(xl==31){ xl=1; } if(xl==xt){ count+=1; } } cout<<count; return 0; }