Run ID:94051
提交时间:2024-10-19 17:35:47
#include<bits/stdc++.h> using namespace std; int main() { int xt=0,xl=0,cnt=0,n=0; while(n<1000){ xt++; if(xt==21) xt=1; xl++; if(xl==31) xl=1; if(xl==xt) cnt++; n++; } cout<<cnt<<endl; return 0; }