Run ID:78367
提交时间:2024-06-18 19:47:54
#include<bits/stdc++.h> using namespace std; int main(){ int ci=0,sum=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){ sum++; } } cout <<sum; return 0; }