QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#435257 | #2810. Speedrun | egypt_ioi2024_11# | Compile Error | / | / | C++23 | 785b | 2024-06-08 19:27:16 | 2024-06-08 19:27:16 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
speedrun.code: In function ‘void dfs(int, int)’: speedrun.code:35:11: error: ‘it’ does not name a type; did you mean ‘int’? 35 | for(auto it : o) | ^~ | int speedrun.code:39:3: error: expected ‘;’ before ‘if’ 39 | } | ^ | ; 40 | if(p != -1) goTo(p); | ~~ speedrun.code:40:2: error: expected primary-expression before ‘if’ 40 | if(p != -1) goTo(p); | ^~ speedrun.code:39:3: error: expected ‘;’ before ‘if’ 39 | } | ^ | ; 40 | if(p != -1) goTo(p); | ~~ speedrun.code:40:2: error: expected primary-expression before ‘if’ 40 | if(p != -1) goTo(p); | ^~ speedrun.code:39:3: error: expected ‘)’ before ‘if’ 39 | } | ^ | ) 40 | if(p != -1) goTo(p); | ~~ speedrun.code:35:5: note: to match this ‘(’ 35 | for(auto it : o) | ^ 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); | ~~~~~~^~~~~~~~~~~~~~~~~~~