Run ID:94068

提交时间:2024-10-19 17:58:45

#include<bits/stdc++.h> using namespace std; int main() { int t1=0,c1=1,q1=1,x1=1,x2=1,f1=0; while(t1+c1+x1<30){ f1=0; t1++; if(q1<10){ f1=1; q1++; } if(x1<10&&t1%2==0){ f1=1; x1++; } if(x2<10&&t1%4==0){ f1=1; x1++; } if(f1) c1++; } cout<<c1<<endl; return 0; }