Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
74860 张皓睿 神秘数字 C++ Accepted 1 MS 276 KB 269 2024-05-26 09:57:04

Tests(10/10):


Code:

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