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_22218807_2361.cpp:3:10: error: 'N' was not declared in this scope
 double G[N][N],dis[N];
          ^
0_0_22218807_2361.cpp:3:13: error: 'N' was not declared in this scope
 double G[N][N],dis[N];
             ^
0_0_22218807_2361.cpp:3:20: error: 'N' was not declared in this scope
 double G[N][N],dis[N];
                    ^
0_0_22218807_2361.cpp:4:10: error: 'N' was not declared in this scope
 bool vis[N];
          ^
0_0_22218807_2361.cpp: In function 'void dijkstra(int)':
0_0_22218807_2361.cpp:12:3: error: 'vis' was not declared in this scope
   vis[i]=0;
   ^
0_0_22218807_2361.cpp:13:3: error: 'dis' was not declared in this scope
   dis[i] = G[s][i]*G[s][s];
   ^
0_0_22218807_2361.cpp:13:12: error: 'G' was not declared in this scope
   dis[i] = G[s][i]*G[s][s];
            ^
0_0_22218807_2361.cpp:15:2: error: 'vis' was not declared in this scope
  vis[s] = 1; dis[s] = G[s][s];
  ^
0_0_22218807_2361.cpp:15:14: error: 'dis' was not declared in this scope
  vis[s] = 1; dis[s] = G[s][s];
              ^
0_0_22218807_2361.cpp:15:23: error: 'G' was not declared in this scope
  vis[s] = 1; dis[s] = G[s][s];
                       ^
0_0_22218807_2361.cpp: In function 'int main()':
0_0_22218807_2361.cpp:48:18: error: 'G' was not declared in this scope
     scanf("%lf",&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-11-23 03:45:27, Gzip enabled