Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
85386 王珠潏 神秘数字 C++ Time Limit Exceeded 1000 MS 268 KB 234 2024-07-17 11:32:13

Tests(0/10):


Code:

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