Run ID:146515
提交时间:2026-01-29 11:11:31
#include<iostream> using namespace std; int main() { int xl,xt,n,cnt=0; xl=xt=n=0; while(n<1000){ xl++; it(xl==21) xl=1; xt++; it(xt==31) xt=1; it(xt==xl) cnt++; n++; } cout<<cnt<<endl; return 0; }