Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
122586 刘益梵 15听到多少次掌声 C++ Wrong Answer 1 MS 264 KB 252 2025-06-21 11:25:34

Tests(0/1):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int a=1,b=2,c=4,s=0,x=1; while(true){ if(x==a || x==b || x==c){ s++; } if(x==10){ cout<<s; return 0; } a++; b+=2; c+=4; x++; } return 0; }


Run Info:

------Input------
0
------Answer-----
20
------Your output-----
10