QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#377696 | #3719. Dynamic Graph | ucup-team1383 | Compile Error | / | / | C++98 | 1.0kb | 2024-04-05 16:46:17 | 2024-04-05 16:46:18 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘void toposort()’: answer.code:35:26: error: ‘it’ does not name a type; did you mean ‘int’? 35 | for(auto it:V[k]) | ^~ | int answer.code:40:18: error: expected ‘;’ before ‘}’ token 40 | } | ^ | ; 41 | } | ~ answer.code:41:9: error: expected primary-expression before ‘}’ token 41 | } | ^ answer.code:40:18: error: expected ‘;’ before ‘}’ token 40 | } | ^ | ; 41 | } | ~ answer.code:41:9: error: expected primary-expression before ‘}’ token 41 | } | ^ answer.code:40:18: error: expected ‘)’ before ‘}’ token 40 | } | ^ | ) 41 | } | ~ answer.code:35:20: note: to match this ‘(’ 35 | for(auto it:V[k]) | ^ answer.code:41:9: error: expected primary-expression before ‘}’ token 41 | } | ^