| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 72531 | 吕毅心 | 15相同数的次数 | C++ | Wrong Answer | 0 MS | 260 KB | 405 | 2024-05-09 19:14:50 |
# include<iostream> # include<cstdio> using namespace std; int main(){ int y,t,m,s=0; for(y=1;y<=1000;y++){ for(t=1;t<=20;t++){ if(t==m){ s+=1; } } for(m=1;m<=30;m++){ if(t==m){ s+=1; } } } cout<<s/2; return 0; }
------Input------
0
------Answer-----
340
------Your output-----
500