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_25901552_549.cpp: In function 'int main()':
0_0_25901552_549.cpp:32:12: error: invalid types 'int[int]' for array subscript
     mp[i][j] = mp[i - 1][j] + sum;
            ^
0_0_25901552_549.cpp:32:27: error: invalid types 'int[int]' for array subscript
     mp[i][j] = mp[i - 1][j] + sum;
                           ^
0_0_25901552_549.cpp:36:15: error: invalid types 'int[int]' for array subscript
     mp[i][A[i]] = mp[i - 1][A[i]] + 1;
               ^
0_0_25901552_549.cpp:36:33: error: invalid types 'int[int]' for array subscript
     mp[i][A[i]] = mp[i - 1][A[i]] + 1;
                                 ^
0_0_25901552_549.cpp:51:22: error: invalid types 'int[int]' for array subscript
      if(sum > mp[b][j] - mp[a - 1][j])
                      ^
0_0_25901552_549.cpp:51:37: error: invalid types 'int[int]' for array subscript
      if(sum > mp[b][j] - mp[a - 1][j])
                                     ^
0_0_25901552_549.cpp:57:28: error: invalid types 'int[int]' for array subscript
     if(c > 1 && 1 > mp[b][c] - mp[a - 1][c])
                            ^
0_0_25901552_549.cpp:57:43: error: invalid types 'int[int]' for array subscript
     if(c > 1 && 1 > mp[b][c] - mp[a - 1][c])
                                           ^


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-30 08:58:04, Gzip enabled