Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
74861 单明哲 神秘数字 C++ Accepted 0 MS 276 KB 232 2024-05-26 09:57:42

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