QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#150064 | #5596. I Could Have Won | ZhangYiDe | Compile Error | / | / | C++98 | 884b | 2023-08-25 15:03:08 | 2023-08-25 15:03:09 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘void solve()’: answer.code:39:14: error: ‘it’ does not name a type; did you mean ‘int’? 39 | for(auto it:vec) | ^~ | int answer.code:40:23: error: expected ‘;’ before ‘}’ token 40 | cout<<it<<' '; | ^ | ; 41 | 42 | } | ~ answer.code:42:1: error: expected primary-expression before ‘}’ token 42 | } | ^ answer.code:40:23: error: expected ‘;’ before ‘}’ token 40 | cout<<it<<' '; | ^ | ; 41 | 42 | } | ~ answer.code:42:1: error: expected primary-expression before ‘}’ token 42 | } | ^ answer.code:40:23: error: expected ‘)’ before ‘}’ token 40 | cout<<it<<' '; | ^ | ) 41 | 42 | } | ~ answer.code:39:8: note: to match this ‘(’ 39 | for(auto it:vec) | ^ answer.code:42:1: error: expected primary-expression before ‘}’ token 42 | } | ^