Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
94068 罗迎甲 15听到多少次掌声 C++ Wrong Answer 0 MS 264 KB 331 2024-10-19 17:58:45

Tests(0/1):


Code:

#include<bits/stdc++.h> using namespace std; int main() { int t1=0,c1=1,q1=1,x1=1,x2=1,f1=0; while(t1+c1+x1<30){ f1=0; t1++; if(q1<10){ f1=1; q1++; } if(x1<10&&t1%2==0){ f1=1; x1++; } if(x2<10&&t1%4==0){ f1=1; x1++; } if(f1) c1++; } cout<<c1<<endl; return 0; }


Run Info:

------Input------
0
------Answer-----
20
------Your output-----
11