Run ID:122633
提交时间:2025-06-21 11:33:36
#include<bits/stdc++.h> using namespace std; int main(){ long long a=1,b =1,x=0,s=0; while(x<=1000){ if(a==b){ s++; } if(a==20){ a=0; } if(b==30){ b=0; } a++; b++; x++; } cout<<s; return 0; }