Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
116177 | 袁龙浩 | 神秘数字 | C++ | Wrong Answer | 1 MS | 260 KB | 418 | 2025-04-06 15:22:16 |
#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,b; cin>>a; for(int i=a;i>=a;i++){ if(i%3==2 && i%5==3 && i%7==2){ b=i; break; } } return 0; }
------Input------
274
------Answer-----
338
------Your output-----