Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
74862 刘宸溪 神秘数字 C++ Accepted 0 MS 272 KB 251 2024-05-26 09:57:46

Tests(10/10):


Code:

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