Run ID:140889
提交时间:2025-12-20 14:21:26
#include<bits/stdc++.h> using namespace std; int main(){ int cnt=0; int xt=0,xl=0,sum=0; while(cnt<1000){ xt++; if(xt>20) xt=1; xl++; if(xl>30) xl=1; if(xt==xl){ sum++; } cnt++; } cout<<sum; return 0; }