| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 146511 | 王晏林 | 15相同数的次数 | C++ | Wrong Answer | 0 MS | 268 KB | 235 | 2026-01-29 11:08:48 |
#include<iostream> using namespace std; int main(){ int xl,xt,n,cnt; n=xl=xt=0; for(int i=0;i<1000;i++){ xt++; if(xt>20)xt=1; xl++; if(xl>30)xl=1; if(xt==xl); cnt++; } cout<<cnt; return 0; }
------Input------
0
------Answer-----
340
------Your output-----
1000