Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
106719 李昊宇 15听到多少次掌声 C++ Wrong Answer 0 MS 264 KB 438 2025-01-16 15:24:34

Tests(0/1):


Code:

#include<iostream> using namespace std; int main(){ int a=0,b=0,c=0,d=0,e; for(int i=1;i<=40;i++){ e=0; if(i%1==0 && a>10){ a++; e=1; } if(i%2==0 && b>10){ b++; e=1; } if(i%4==0 && c>10){ a++; e=1; } if(e=1){ d++; } } cout<<d; return 0; }


Run Info:

------Input------
0
------Answer-----
20
------Your output-----
40