QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#642816 | #5513. Advertisement 2 | MaMengQi | Compile Error | / | / | C++17 | 646b | 2024-10-15 16:25:08 | 2024-10-15 16:25:08 |
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:23:47: error: use of an operand of type ‘bool’ in ‘operator++’ is forbidden in C++17 23 | if(tong[a[i].x]==0)tong[a[i].x]++,gs++; | ~~~~~~~~~~~^