Run ID:95692

提交时间:2024-11-01 20:12:17

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