QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#637875 | #7407. Program Optimization | HuangHanSheng | Compile Error | / | / | C++23 | 1.6kb | 2024-10-13 14:17:06 | 2024-10-13 14:17:06 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘long long int simulate(long long int, long long int*, long long int, long long int, long long int)’: answer.code:39:23: error: ordered comparison of pointer with integer zero (‘long long int*’ and ‘int’) 39 | if (l - 2 >= 0) | ~~~~~~^~~~ answer.code:43:23: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] 43 | if (r + 1 < n) | ~~~~~~^~~