Run ID:122669

提交时间:2025-06-21 11:57:14

#include<bits/stdc++.h> using namespace std; int main(){ long long a=0,b =0,c=0,time=0,s=0; while(a<10 || b<10 || c<10){ bool fal=false; if(a<10){ fal=true; a++; } if(b<10 && time%2==0){ fal=true; b++; } if(c<10 && time%4==0){ fal=true; c++; } if(fal){ s++; } time++; } cout<<s; return 0; }