Run ID:146526
提交时间:2026-01-29 11:53:10
#include<iostream> using namespace std; int main(){ int t=0,c=1,qw=1,xm=1,xy=1; bool flag=false; while(qw+xn+xy<30){ t++; flag=false; if(qw<10){ flag=true; qw++; } if(xm<10&&xt%2==0){ flag=true; xm++; } if(xy<10&&xt%4==0){ flag=true; xy++; } if(flag){ c++; } } cout<<c; return 0; }