QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#61805 | #2541. Coins and Boxes | MaMengQi | Compile Error | / | / | C++14 | 995b | 2022-11-14 21:48:38 | 2022-11-14 21:48:39 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:13:7: error: ‘N’ was not declared in this scope 13 | int a[N], b[N]; | ^ answer.code:13:13: error: ‘N’ was not declared in this scope 13 | int a[N], b[N]; | ^ answer.code: In function ‘int main()’: answer.code:21:45: error: ‘a’ was not declared in this scope 21 | for (int i = 1; i <= n; ++i) cin >> a[i]; | ^ answer.code:22:45: error: ‘b’ was not declared in this scope 22 | for (int i = 1; i <= n; ++i) cin >> b[i]; | ^ answer.code:24:28: error: ‘b’ was not declared in this scope 24 | const int mx = max(b[n], a[n]); | ^ answer.code:24:34: error: ‘a’ was not declared in this scope 24 | const int mx = max(b[n], a[n]); | ^