QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#144577 | #4186. Card Trading | MaMengQi | Compile Error | / | / | C++20 | 1.8kb | 2023-08-21 16:59:46 | 2023-08-21 17:01:18 |
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:45:18: error: ‘p’ was not declared in this scope 45 | if(a[p].p<=mid) a1+=a[p].a; | ^ answer.code:46:18: error: ‘p’ was not declared in this scope 46 | if(a[p].p>=mid) b1+=a[p].b; | ^ answer.code:53:18: error: ‘p’ was not declared in this scope 53 | if(a[p].p<=mid) a2+=a[p].a; | ^ answer.code:54:18: error: ‘p’ was not declared in this scope 54 | if(a[p].p>=mid) b2+=a[p].b; | ^ answer.code:65:14: error: ‘p’ was not declared in this scope 65 | if(a[p].p<=mid) a1+=a[p].a; | ^ answer.code:66:14: error: ‘p’ was not declared in this scope 66 | if(a[p].p>=mid) b1+=a[p].b; | ^