| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 84780 | 王陈淼 | 15听到多少次掌声 | C++ | Time Limit Exceeded | 1000 MS | 252 KB | 401 | 2024-07-16 14:07:16 |
#include <iostream> using namespace std; int main() { int qx=0,xm=0,xy=0,time=0,count=0; bool flag=false; while(qx+xm+xy<30) { flag=true; } if(time%4==0&&xy<10) { xy=xy+1; flag=true; } if(qx<10){ qx=qx+1; flag=true; } if(flag) { count=count+1; } cout << count; return 0; }