Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
100825 秦浩然 神秘数字 C++ Wrong Answer 1 MS 280 KB 259 2024-12-14 10:42:14

Tests(0/10):


Code:

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


Run Info:

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