Run ID:140415
提交时间:2025-12-14 11:57:41
#include<bits/stdc++.h> using namespace std; int main(){ int q=0,x=0,j=0,i=0,n=0; while(q+x+j<30){ int f=0; if(q<10){ if(i%1==0){ q++; f=1; } } if(x<10){ if(i%2==0){ x++; f=1; } } if(x<10){ if(i%4==0){ j++; f=1; } } if(f==1){ n++; } i++; } cout<<n; return 0; }