QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#637872 | #7407. Program Optimization | ZhangYiDe | Compile Error | / | / | C++23 | 1.6kb | 2024-10-13 14:16:34 | 2024-10-13 14:16:35 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
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) | ~~~~~~^~~