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_39114027_31739.cpp: In function 'void input()':
0_0_39114027_31739.cpp:15:32: error: invalid types 'int[int]' for array subscript
   15 |                         path[i][j]=j;
      |                                ^
0_0_39114027_31739.cpp: In function 'void floyd()':
0_0_39114027_31739.cpp:26:59: error: 'suhi' was not declared in this scope; did you mean 'shui'?
   26 |                                 int len=ma[i][k]+ma[k][j]+suhi[k];
      |                                                           ^~~~
      |                                                           shui
0_0_39114027_31739.cpp:29:48: error: invalid types 'int[int]' for array subscript
   29 |                                         path[i][j]=path[i][k];
      |                                                ^
0_0_39114027_31739.cpp:29:59: error: invalid types 'int[int]' for array subscript
   29 |                                         path[i][j]=path[i][k];
      |                                                           ^
0_0_39114027_31739.cpp:30:64: error: invalid types 'int[int]' for array subscript
   30 |                                 }else if(ma[i][j]==len&&path[i][j]>path[i][k]){
      |                                                                ^
0_0_39114027_31739.cpp:30:75: error: invalid types 'int[int]' for array subscript
   30 |                                 }else if(ma[i][j]==len&&path[i][j]>path[i][k]){
      |                                                                           ^
0_0_39114027_31739.cpp:31:48: error: invalid types 'int[int]' for array subscript
   31 |                                         path[i][j]=path[i][k];
      |                                                ^
0_0_39114027_31739.cpp:31:59: error: invalid types 'int[int]' for array subscript
   31 |                                         path[i][j]=path[i][k];
      |                                                           ^
0_0_39114027_31739.cpp: In function 'void output()':
0_0_39114027_31739.cpp:43:45: error: expected ')' before 't'
   43 |                 printf("From %d to %d :\n",s t);
      |                       ~                     ^~
      |                                             )
0_0_39114027_31739.cpp:47:47: error: invalid types 'int[int]' for array subscript
   47 |                         printf("-->%d",path[k][t]);
      |                                               ^
0_0_39114027_31739.cpp:48:34: error: invalid types 'int[int]' for array subscript
   48 |                         k=path[k][t];
      |                                  ^
0_0_39114027_31739.cpp: In function 'int main()':
0_0_39114027_31739.cpp:57:17: error: 'flody' was not declared in this scope; did you mean 'floyd'?
   57 |                 flody();
      |                 ^~~~~
      |                 floyd


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-23 05:47:47, Gzip enabled