QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#670185 | #9296. Golden Spirit | GuanYunchang | Compile Error | / | / | C++17 | 586b | 2024-10-23 20:46:40 | 2024-10-23 20:46:41 |
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:9:5: error: expected initializer before ‘ll’ 9 | ll ans[m+1]{}, messages_sent[m+1]{}; | ^~ answer.code:9:18: error: expected primary-expression before ‘,’ token 9 | ll ans[m+1]{}, messages_sent[m+1]{}; | ^ answer.code:9:20: error: ‘messages_sent’ was not declared in this scope 9 | ll ans[m+1]{}, messages_sent[m+1]{}; | ^~~~~~~~~~~~~ answer.code:13:13: error: ‘ans’ was not declared in this scope; did you mean ‘abs’? 13 | ans[x] -= cnt[y]; | ^~~ | abs answer.code:15:13: error: ‘ans’ was not declared in this scope; did you mean ‘abs’? 15 | ans[x] += cnt[y]; | ^~~ | abs