| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 140416 | 万麟峰 | 15听到多少次掌声 | C++ | Time Limit Exceeded | 1000 MS | 248 KB | 361 | 2025-12-14 11:58:50 |
#include<bits/stdc++.h> using namespace std; int main(){ int q=0,x=0,j=0,i=0,n=0; while(q+x+j<30){ int f=0; if(q<10){ if(i%1==0){ q++; f=1; } } if(x<10){ if(i%2==0){ x++; f=1; } } if(x<10){ if(i%4==0){ j++; f=1; } } if(f==1){ n++; } i++; } cout<<n; return 0; }