Run ID:111507
提交时间:2025-03-02 14:47:48
#include <bits/stdc++.h> using namespace std; int main(){ int xt=0,xl=0,n=0,c=0; while(n<=1000){ xt++; xl++; if(xt==21){ xt=1; } if(xl==31){ xl=1; } if(xt==xl){ c++; } n++; } cout<<c<<endl; }