Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
108862 高楷伦 19神秘数字 C++ Wrong Answer 0 MS 260 KB 546 2025-01-22 16:22:32

Tests(0/1):


Code:

#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 n=0,m=0,y=0; for(int i=0;;i++){ if(i%8%8==1){ n=i; } if(n%8==7){ m=n-7; } if(i%17==4&&i/17%17==15){ y=i/17/17; if(y==2*m){ cout<<i<<endl; return 0; } } } return 0; }


Run Info:

------Input------
0
------Answer-----
1993
------Your output-----
259