Run ID:141359
提交时间:2025-12-22 19:11:52
#include<bits/stdc++.h> using namespace std; int main(){ int a=0,b=0,c=0,l=0; int i=0; while(a+b+c<30){ int f=0; if(a<10 ){ a++; f=1; } if(b<10){ if(i%2==0){ b++; f=1; } } if(c<10){ if(i%4==0){ c++; f=1; } } if(f==1){ l++; } i++;} cout<<l; return 0; }