Run ID:122587

提交时间:2025-06-21 11:25:34

#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; }