Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
85387 王陈淼 神秘数字 C++ Accepted 1 MS 272 KB 181 2024-07-17 11:32:33

Tests(10/10):


Code:

# 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; }