Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
122501 何辰熠 19神秘数字 C++ Compile Error 0 MS 0 KB 219 2025-06-21 09:23:15

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main() { int x1,x2; for(int i=0;;i++) { x1=((i*8+7)*8+1)*8+1; x2=(*i*17+15)*17+14; if(x1==x2) { cout<<i; break; } } return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:9:8: error: invalid type argument of unary '*' (have 'int')
   x2=(*i*17+15)*17+14;
        ^