Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
100843 秦浩然 神秘数字 C++ Wrong Answer 0 MS 272 KB 230 2024-12-14 10:46:13

Tests(0/10):


Code:

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


Run Info:

------Input------
274
------Answer-----
338
------Your output-----
274