QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#454576 | #2810. Speedrun | egypt_ioi2024_08# | Compile Error | / | / | C++23 | 753b | 2024-06-25 04:39:42 | 2024-06-25 04:39:43 |
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:28:13: error: ‘it’ does not name a type; did you mean ‘st’? 28 | for(auto it:adj[node]) { | ^~ | st speedrun.code:30:5: error: expected ‘;’ before ‘if’ 30 | } | ^ | ; 31 | if(par!=node) bool h = goTo(par); | ~~ speedrun.code:31:4: error: expected primary-expression before ‘if’ 31 | if(par!=node) bool h = goTo(par); | ^~ speedrun.code:30:5: error: expected ‘;’ before ‘if’ 30 | } | ^ | ; 31 | if(par!=node) bool h = goTo(par); | ~~ speedrun.code:31:4: error: expected primary-expression before ‘if’ 31 | if(par!=node) bool h = goTo(par); | ^~ speedrun.code:30:5: error: expected ‘)’ before ‘if’ 30 | } | ^ | ) 31 | if(par!=node) bool h = goTo(par); | ~~ speedrun.code:28:7: note: to match this ‘(’ 28 | for(auto it:adj[node]) { | ^ 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); | ~~~~~~^~~~~~~~~~~~~~~~~~~