Run ID:78362
提交时间:2024-06-18 19:45:40
#include <bits/stdc++.h> using namespace std; int main(){ int ci,cxs=0; int xt=0,xl=0; while(ci<1000){ ci++; xt++; xl++; if(xt==21){ xt=1; } if(xl==31){ xl=1; } if(xt==xl){ cxs++; } } cout<<cxs; return 0; }