QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#443453 | #8582. 점프 게임 | ZhaoZiLong | Compile Error | / | / | C++23 | 582b | 2024-06-15 15:36:59 | 2024-06-15 15:37:00 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In function ‘long long int play_game(long long int, int, long long int, std::vector<long long int>, std::vector<long long int>)’: answer.code:16:27: error: ‘l’ was not declared in this scope 16 | a[l[i]]++; | ^ answer.code:17:27: error: ‘r’ was not declared in this scope 17 | a[r[i + 1]]--; | ^ answer.code:28:32: error: ‘r’ was not declared in this scope 28 | res += r[i] - l[i] + 1; | ^ answer.code:28:39: error: ‘l’ was not declared in this scope 28 | res += r[i] - l[i] + 1; | ^ answer.code:33:1: warning: control reaches end of non-void function [-Wreturn-type] 33 | } | ^