QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#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.
詳細信息
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 | } | ^