QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#383184 | #2774. Scenery | ucup-team241# | Compile Error | / | / | C++14 | 2.6kb | 2024-04-09 03:17:53 | 2024-04-09 03:17:54 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In function ‘int main()’: answer.code:24:25: error: invalid types ‘int[int]’ for array subscript 24 | swap(l[i], r[i]); | ^ answer.code:26:14: error: invalid types ‘int[int]’ for array subscript 26 | r[i] = S - r[i]; | ^ answer.code:26:25: error: invalid types ‘int[int]’ for array subscript 26 | r[i] = S - r[i]; | ^ answer.code:32:38: error: invalid types ‘int[int]’ for array subscript 32 | if (l[i] == l[j] && r[j] == r[i] && j < i) continue; | ^ answer.code:32:46: error: invalid types ‘int[int]’ for array subscript 32 | if (l[i] == l[j] && r[j] == r[i] && j < i) continue; | ^ answer.code:33:38: error: invalid types ‘int[int]’ for array subscript 33 | if (l[j] <= l[i] && r[j] <= r[i]) | ^ answer.code:33:46: error: invalid types ‘int[int]’ for array subscript 33 | if (l[j] <= l[i] && r[j] <= r[i]) | ^ answer.code: In lambda function: answer.code:50:48: error: invalid types ‘int[int]’ for array subscript 50 | if (1ll * (pos + 2) * t + c > r[i]) return 0; | ^ answer.code:51:40: error: invalid types ‘int[int]’ for array subscript 51 | if (mx[pos] + t * 2 > r[i]) return 0; | ^ answer.code: In function ‘int main()’: answer.code:65:38: error: invalid types ‘int[int]’ for array subscript 65 | if (l[j] >= l[i] && r[j] <= r[i]) cnt += 1; | ^ answer.code:65:46: error: invalid types ‘int[int]’ for array subscript 65 | if (l[j] >= l[i] && r[j] <= r[i]) cnt += 1; | ^ answer.code:67:18: error: invalid types ‘int[int]’ for array subscript 67 | if (r[i] - l[i] < 1ll * cnt * t) { | ^