| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 163256 | 曾钰涵 | 15听到多少次掌声 | C++ | Accepted | 1 MS | 268 KB | 440 | 2026-10-24 16:36:29 |
#include<bits/stdc++.h> using namespace std; int main(){ int t=0,c=1,qw=1,xm=1,yz=1; bool flag=true; while(qw+xm+yz<30){ flag=false; t++; if(qw<10){ qw++; flag=true; } if(xm<10&&t%2==0){ xm++; flag=true; } if(yz<10&&t%4==0){ yz++; flag=true; } if(flag){ c++; } } cout<<c; return 0; }