QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#439354 | #2810. Speedrun | egypt_ioi2024_09# | Compile Error | / | / | C++23 | 1.0kb | 2024-06-11 20:00:00 | 2024-06-11 20:00:03 |
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:9:27: error: ‘>>’ should be ‘> >’ within a nested template argument list 9 | vector < vector < int >> adj(n + 10); | ^~ | > > speedrun.code:17:21: warning: range-based ‘for’ loops only available with ‘-std=c++11’ or ‘-std=gnu++11’ 17 | for(int j : adj[i]) { | ^~~ speedrun.code:17:26: error: forming reference to reference type ‘std::vector<int>&’ 17 | for(int j : adj[i]) { | ^ speedrun.code: In function ‘void solve(int, int, int&)’: speedrun.code:36:14: error: ‘ch’ does not name a type 36 | for(auto ch : childs) { | ^~ speedrun.code:39:6: error: expected ‘;’ before ‘goTo’ 39 | } | ^ | ; 40 | goTo(par); | ~~~~ speedrun.code:41:1: error: expected primary-expression before ‘}’ token 41 | } | ^ speedrun.code:40:15: error: expected ‘)’ before ‘}’ token 40 | goTo(par); | ^ | ) 41 | } | ~ speedrun.code:36:8: note: to match this ‘(’ 36 | for(auto ch : childs) { | ^ speedrun.code:41:1: error: expected primary-expression before ‘}’ token 41 | } | ^ 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); | ~~~~~~^~~~~~~~~~~~~~~~~~~