Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
85388 王珠潏 神秘数字 C++ Accepted 1 MS 272 KB 237 2024-07-17 11:35:02

Tests(10/10):


Code:

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