Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
144366 李亭绪 19神秘数字 C++ Compile Error 0 MS 0 KB 393 2026-01-21 20:44:10

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(){ for(int i=1;i<10000;i++){ if(i%8=1%&&i/8%8=7&&i%17==4&&i/17%17==15){ cout<<i; } } return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:9:20: error: invalid operands of types 'int' and 'void*' to binary 'operator%'
         if(i%8=1%&&i/8%8=7&&i%17==4&&i/17%17==15){
                    ^
Main.cc:9:20: error: label 'i' used but not defined