QOJ.ac
QOJ
The 2nd Universal Cup Finals is coming! Check out our event page, schedule, and competition rules!
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#637876 | #7407. Program Optimization | MaMengQi | Compile Error | / | / | C++23 | 1.6kb | 2024-10-13 14:17:33 | 2024-10-13 14:17:33 |
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:25: error: ordered comparison of pointer with integer zero (‘long long int*’ and ‘int’) 39 | if (l - 2ll >= 0) | ~~~~~~~~^~~~ answer.code:43:25: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] 43 | if (r + 1ll < n) | ~~~~~~~~^~~