QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#435274 | #2810. Speedrun | egypt_ioi2024_11# | Compile Error | / | / | C++23 | 814b | 2024-06-08 19:30:33 | 2024-06-08 19:30:34 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
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); | ~~~~~~^~~~~~~~~~~~~~~~~~~