QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#413999 | #7986. 游戏 | MaMengQi | Compile Error | / | / | C++98 | 885b | 2024-05-18 13:49:42 | 2024-05-18 13:49:43 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘void dfs(int)’: answer.code:23:18: error: ‘i’ does not name a type 23 | for(auto i:G[cur]){ | ^ answer.code:28:10: error: expected ‘;’ before ‘d’ 28 | } | ^ | ; 29 | d[cur]-=1; | ~ answer.code:30:9: error: expected primary-expression before ‘if’ 30 | if(d[cur]>0 || cnt==0) d[cur]=1; | ^~ answer.code:29:19: error: expected ‘)’ before ‘if’ 29 | d[cur]-=1; | ^ | ) 30 | if(d[cur]>0 || cnt==0) d[cur]=1; | ~~ answer.code:23:12: note: to match this ‘(’ 23 | for(auto i:G[cur]){ | ^