| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 140426 | 傅小轩 | 15听到多少次掌声 | C++ | Time Limit Exceeded | 1000 MS | 256 KB | 347 | 2025-12-14 12:11:53 |
#include<iostream> 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){ q++; f=1; } if(x<10){ if(i%2==0){ x++; f=1; } } if(j<10){ if(1%4==0){ j++; f=1; } } if(f==1){ n++; } i++; } cout<<n; return 0; }