| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 78627 | 田苒彤 | 15听到多少次掌声 | C++ | Accepted | 0 MS | 260 KB | 277 | 2024-06-23 14:00:14 |
#include<bits/stdc++.h> using namespace std; int main(){ int cxs=0; int t=0; while(t<=40){ t++; if(t%1==0&&t<=10){ cxs++; }else if(t%2==0&&t<=20){ cxs++; }else if(t%4==0&&t<=40){ cxs++; } } cout<<cxs; return 0; }