Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
85385 叶城俊 神秘数字 C++ Accepted 1 MS 272 KB 261 2024-07-17 11:31:47

Tests(10/10):


Code:

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