QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#197601 | #5663. Tangle: A DAG for storing transactions | ucup-team1588# | Compile Error | / | / | C++98 | 3.0kb | 2023-10-02 17:34:49 | 2023-10-02 17:34:51 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:107:18: error: ‘>>’ should be ‘> >’ within a nested template argument list 107 | vector<vector<int>> adj(N); | ^~ | > > answer.code: In function ‘void dfs(int)’: answer.code:111:15: error: ‘x’ does not name a type 111 | for (auto x : adj[node]){ | ^ answer.code:114:6: error: expected ‘;’ before ‘}’ token 114 | } | ^ | ; 115 | } | ~ answer.code:115:1: error: expected primary-expression before ‘}’ token 115 | } | ^ answer.code:114:6: error: expected ‘;’ before ‘}’ token 114 | } | ^ | ; 115 | } | ~ answer.code:115:1: error: expected primary-expression before ‘}’ token 115 | } | ^ answer.code:114:6: error: expected ‘)’ before ‘}’ token 114 | } | ^ | ) 115 | } | ~ answer.code:111:9: note: to match this ‘(’ 111 | for (auto x : adj[node]){ | ^ answer.code:115:1: error: expected primary-expression before ‘}’ token 115 | } | ^