F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_39454456_29334.cpp: In function 'int main()':
0_0_39454456_29334.cpp:256:17: error: invalid types '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type {aka int}[__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type {aka int}]' for array subscript
  256 |         f[x1[i]][y1[i]]++;
      |                 ^
0_0_39454456_29334.cpp:257:17: error: invalid types '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type {aka int}[__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type {aka int}]' for array subscript
  257 |         f[x1[i]][y2[i]]--;
      |                 ^
0_0_39454456_29334.cpp:258:17: error: invalid types '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type {aka int}[__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type {aka int}]' for array subscript
  258 |         f[x2[i]][y1[i]]--;
      |                 ^
0_0_39454456_29334.cpp:259:17: error: invalid types '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type {aka int}[__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type {aka int}]' for array subscript
  259 |         f[x2[i]][y2[i]]++;
      |                 ^
0_0_39454456_29334.cpp:266:17: error: invalid types '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type {aka int}[int]' for array subscript
  266 |             f[i][j] += f[i][j - 1];
      |                 ^
0_0_39454456_29334.cpp:266:28: error: invalid types '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type {aka int}[int]' for array subscript
  266 |             f[i][j] += f[i][j - 1];
      |                            ^
0_0_39454456_29334.cpp:273:17: error: invalid types '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type {aka int}[int]' for array subscript
  273 |             f[i][j] += f[i - 1][j];
      |                 ^
0_0_39454456_29334.cpp:273:32: error: invalid types '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type {aka int}[int]' for array subscript
  273 |             f[i][j] += f[i - 1][j];
      |                                ^
0_0_39454456_29334.cpp:282:19: error: invalid types '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type {aka int}[int]' for array subscript
  282 |             a[f[i][j]] += Z(vx[i + 1] - vx[i]) * (vy[j + 1] - vy[j]);
      |                   ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-25 16:56:58, Gzip enabled