QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#155065 | #7120. Soccer | Jasonwei# | Compile Error | / | / | C++17 | 1.0kb | 2023-09-01 09:18:22 | 2024-04-28 06:39:08 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘void calc(int, int, int)’: answer.code:6:20: error: ‘a’ was not declared in this scope 6 | int last = a; | ^ answer.code:7:29: error: ‘b’ was not declared in this scope 7 | for (int i = a; i < b; i++) { | ^ answer.code:8:22: error: ‘F’ was not declared in this scope 8 | if (!F[x][i]) continue; | ^ answer.code:9:31: error: ‘res’ was not declared in this scope 9 | if (i > last) res = max (res, dp[y1][y2][last][i] + i - last); | ^~~ answer.code:12:13: error: ‘b’ was not declared in this scope 12 | if (b > last) res = max (res, dp[y1][y2][last][b] + b - last); | ^ answer.code:12:23: error: ‘res’ was not declared in this scope 12 | if (b > last) res = max (res, dp[y1][y2][last][b] + b - last); | ^~~