Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
140380 王安安 15听到多少次掌声 C++ Wrong Answer 0 MS 260 KB 315 2025-12-14 11:33:37

Tests(0/1):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int a=0,b=0,d=0; int i=1,num=0; while(i<=10){ a++; if(a>1)a=1; num++; b++; if(b>2)b=1; num++; d++; if(d>4)d=1; num++; if(a==b and a==d){ num++; num+-3; } i++; } cout<<num; return 0; }


Run Info:

------Input------
0
------Answer-----
20
------Your output-----
33