| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 146514 | 王晏林 | 15相同数的次数 | C++ | Accepted | 0 MS | 260 KB | 236 | 2026-01-29 11:11:00 |
#include<iostream> using namespace std; int main(){ int xl,xt,n,cnt=0; 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; }