QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#597445 | #9424. Stop the Castle 2 | ucup-team3966# | Compile Error | / | / | C++20 | 4.6kb | 2024-09-28 17:50:18 | 2024-09-28 17:50:19 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘int main()’: answer.code:123:17: error: ‘for(int’ was not declared in this scope 123 | for(int i = cntx; i >= 3; --i) if (dl[i]) addedge(se, i, dl[i] - 1, 0), addedge(i, se, 0, 0), addedge(se, i, 1, 1), addedge(i, se, 0, -1); | ^~~~~~~~ answer.code:123:36: error: ‘i’ was not declared in this scope 123 | for(int i = cntx; i >= 3; --i) if (dl[i]) addedge(se, i, dl[i] - 1, 0), addedge(i, se, 0, 0), addedge(se, i, 1, 1), addedge(i, se, 0, -1); | ^ answer.code:123:46: error: ‘i)’ was not declared in this scope 123 | for(int i = cntx; i >= 3; --i) if (dl[i]) addedge(se, i, dl[i] - 1, 0), addedge(i, se, 0, 0), addedge(se, i, 1, 1), addedge(i, se, 0, -1); | ^~~