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_21703567_14663.cpp:83:8: error: array bound is not an integer constant before ']' token
 int G[N][N];
        ^
0_0_21703567_14663.cpp:83:11: error: array bound is not an integer constant before ']' token
 int G[N][N];
           ^
0_0_21703567_14663.cpp: In function 'int main()':
0_0_21703567_14663.cpp:98:21: error: 'G' was not declared in this scope
                     G[i][j]=0;
                     ^
0_0_21703567_14663.cpp:100:21: error: 'G' was not declared in this scope
                     G[i][j]=INF;
                     ^
0_0_21703567_14663.cpp:100:29: error: 'INF' was not declared in this scope
                     G[i][j]=INF;
                             ^
0_0_21703567_14663.cpp:113:13: error: 'G' was not declared in this scope
             G[i][j] = min(G[i][j],c);
             ^
0_0_21703567_14663.cpp:113:18: error: 'j' was not declared in this scope
             G[i][j] = min(G[i][j],c);
                  ^
0_0_21703567_14663.cpp:118:29: error: 'INF' was not declared in this scope
                 addedge(i,j,INF,G[i][j]);
                             ^
0_0_21703567_14663.cpp:118:33: error: 'G' was not declared in this scope
                 addedge(i,j,INF,G[i][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-06-30 18:25:26, Gzip enabled