Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
107555 | 陈骏睿 | 满足条件的数 | C++ | Wrong Answer | 1 MS | 276 KB | 383 | 2025-01-18 10:09:35 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int a; cin>>a; while(1){ a++; if(a%3==2&&a%5==3&&a%7==2){ cout<<a; break; } } return 0; }
------Input------
300 262 205
------Answer-----
19
------Your output-----
338