Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
144361 何旻慧 19神秘数字 C++ Compile Error 0 MS 0 KB 438 2026-01-21 20:12:37

Tests(0/0):


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 x=0; while(1){ x++; if(x%8=1&&x/8%8==1&&x/8/8%8==7&&x%17==4&&x/17%17==15&&x/8/8/8*2==x/17/17) cout<<x; return 0; } return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:11:15: error: lvalue required as left operand of assignment
         if(x%8=1&&x/8%8==1&&x/8/8%8==7&&x%17==4&&x/17%17==15&&x/8/8/8*2==x/17/17)
               ^