Run ID:85387

提交时间:2024-07-17 11:32:33

# include<iostream> using namespace std; int main(){ int a,b; cin >> a; b=a; while(1){ b++; if(b%3==2&&b%5==3&&b%7==2) { cout << b; break; } } return 0; }