Run ID:122658
提交时间:2025-06-21 11:53:26
#include<bits/stdc++.h> using namespace std; int main(){ int a=0,b=0,c=0,x=1,m=0; while(a<10 || b<10 || c<10){ bool v=false; if(a<10){ v=true; a++; } if(x%2==0 && b<10){ v=true; b++; } if(x%4==0 && c<10){ v=true; c++; } if(v){ m++; } x++; } cout<<m; return 0; }