Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
142455 罗晟睿 神秘数字 C++ Accepted 0 MS 272 KB 190 2026-01-10 15:16:29

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main() { int a,b; cin>>a; for(int b=a; ;b++) { if(b%3==2&&b%5==3&&b%7==2&&b>a) { cout<<b; break; } } return 0; }