QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#435274#2810. Speedrunegypt_ioi2024_11#Compile Error//C++23814b2024-06-08 19:30:332024-06-08 19:30:34

详细

speedrun.code: In function ‘void assignHints(int, int, int*, int*)’:
speedrun.code:10:3: error: ‘setHintLen’ was not declared in this scope
   10 |   setHintLen(N);
      |   ^~~~~~~~~~
speedrun.code:13:4: error: ‘setHint’ was not declared in this scope; did you mean ‘setns’?
   13 |    setHint(A[i], B[i], 1);
      |    ^~~~~~~
      |    setns
speedrun.code: In function ‘void dfs(int, int)’:
speedrun.code:28:12: error: ‘getHint’ was not declared in this scope; did you mean ‘getline’?
   28 |   bool b = getHint(i);
      |            ^~~~~~~
      |            getline
speedrun.code:36:11: error: ‘it’ does not name a type; did you mean ‘int’?
   36 |  for(auto it : o)
      |           ^~
      |           int
speedrun.code:40:3: error: expected ‘;’ before ‘if’
   40 |  }
      |   ^
      |   ;
   41 |  if(p != -1) goTo(p);
      |  ~~
speedrun.code:41:2: error: expected primary-expression before ‘if’
   41 |  if(p != -1) goTo(p);
      |  ^~
speedrun.code:40:3: error: expected ‘;’ before ‘if’
   40 |  }
      |   ^
      |   ;
   41 |  if(p != -1) goTo(p);
      |  ~~
speedrun.code:41:2: error: expected primary-expression before ‘if’
   41 |  if(p != -1) goTo(p);
      |  ^~
speedrun.code:40:3: error: expected ‘)’ before ‘if’
   40 |  }
      |   ^
      |   )
   41 |  if(p != -1) goTo(p);
      |  ~~
speedrun.code:36:5: note: to match this ‘(’
   36 |  for(auto it : o)
      |     ^
speedrun.code:41:14: error: ‘goTo’ was not declared in this scope
   41 |  if(p != -1) goTo(p);
      |              ^~~~
grader_speedrun.cpp: In function ‘int readvalue()’:
grader_speedrun.cpp:9:9: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    9 |   fscanf(input, "%d", &val);
      |   ~~~~~~^~~~~~~~~~~~~~~~~~~