Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
74856 李泽宜 神秘数字 C++ Accepted 1 MS 276 KB 231 2024-05-26 09:53:57

Tests(10/10):


Code:

#include<iostream> #include<iomanip> 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; } } } } }