Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
100813 贾雨泽 神秘数字 C++ Accepted 1 MS 276 KB 247 2024-12-14 10:35:40

Tests(10/10):


Code:

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