| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 78381 | 杨珞烯 | 15听到多少次掌声 | C++ | Accepted | 0 MS | 264 KB | 228 | 2024-06-18 20:07:12 |
#include <iostream> using namespace std; int main(){ int t=1,zs=0; while(t<=40){ if(t%1==0&&t<=10) zs++; else if(t%2==0&&t<=20){ zs++; }else if(t%4==0&&t<=40){ zs++;} t++; } cout<<zs; return 0; }