| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 140889 | 李昱龙 | 15相同数的次数 | C++ | Accepted | 0 MS | 260 KB | 260 | 2025-12-20 14:21:26 |
#include<bits/stdc++.h> using namespace std; int main(){ int cnt=0; int xt=0,xl=0,sum=0; while(cnt<1000){ xt++; if(xt>20) xt=1; xl++; if(xl>30) xl=1; if(xt==xl){ sum++; } cnt++; } cout<<sum; return 0; }