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_37781670_28114.cpp:8:11: error: 'MAXN' was not declared in this scope
 idiom dic[MAXN];
           ^
0_0_37781670_28114.cpp:9:10: error: 'MAXN' was not declared in this scope
 int Edge[MAXN][MAXN];
          ^
0_0_37781670_28114.cpp:9:16: error: 'MAXN' was not declared in this scope
 int Edge[MAXN][MAXN];
                ^
0_0_37781670_28114.cpp:10:10: error: 'MAXN' was not declared in this scope
 int dist[MAXN];
          ^
0_0_37781670_28114.cpp:11:7: error: 'MAXN' was not declared in this scope
 int S[MAXN];
       ^
0_0_37781670_28114.cpp: In function 'int main()':
0_0_37781670_28114.cpp:25:28: error: 'dic' was not declared in this scope
             scanf("%d%s", &dic[k].T, s);
                            ^
0_0_37781670_28114.cpp:39:17: error: 'Edge' was not declared in this scope
                 Edge[i][j] = INF;
                 ^
0_0_37781670_28114.cpp:39:30: error: 'INF' was not declared in this scope
                 Edge[i][j] = INF;
                              ^
0_0_37781670_28114.cpp:42:28: error: 'dic' was not declared in this scope
                 if (strcmp(dic[i].back, dic[j].front) == 0)
                            ^
0_0_37781670_28114.cpp:48:13: error: 'dist' was not declared in this scope
             dist[i] = Edge[0][i];
             ^
0_0_37781670_28114.cpp:48:23: error: 'Edge' was not declared in this scope
             dist[i] = Edge[0][i];
                       ^
0_0_37781670_28114.cpp:49:13: error: 'S' was not declared in this scope
             S[i] = 0;
             ^
0_0_37781670_28114.cpp:51:9: error: 'S' was not declared in this scope
         S[0] = 1;
         ^
0_0_37781670_28114.cpp:52:9: error: 'dist' was not declared in this scope
         dist[0] = 0;
         ^
0_0_37781670_28114.cpp:55:23: error: 'INF' was not declared in this scope
             int min = INF, u = 0;
                       ^
0_0_37781670_28114.cpp:60:21: error: 'u' was not declared in this scope
                     u = j;
                     ^
0_0_37781670_28114.cpp:65:15: error: 'u' was not declared in this scope
             S[u] = 1;
               ^
0_0_37781670_28114.cpp:69:30: error: 'Edge' was not declared in this scope
                 if (!S[k] && Edge[u][k] < INF && dist[u] + Edge[u][k] < dist[k])
                              ^
0_0_37781670_28114.cpp:73:28: error: 'INF' was not declared in this scope
         if (dist[N - 1] == INF)
                            ^


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-26 00:26:25, Gzip enabled