QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#383184#2774. Sceneryucup-team241#Compile Error//C++142.6kb2024-04-09 03:17:532024-04-09 03:17:54

詳細信息

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) {
      |                  ^