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_16218173_9753.cpp: In function 'int main()':
0_0_16218173_9753.cpp:17:8: error: 't' was not declared in this scope
    if (t==0) break;
        ^
0_0_16218173_9753.cpp:20:23: error: 'n' was not declared in this scope
  while (scanf("%d%d",&n,&m)!=EOF)
                       ^
0_0_16218173_9753.cpp:20:26: error: 'm' was not declared in this scope
  while (scanf("%d%d",&n,&m)!=EOF)
                          ^
0_0_16218173_9753.cpp:24:5: error: 'dis' was not declared in this scope
     dis[i][j]=Inf;
     ^
0_0_16218173_9753.cpp:24:15: error: 'Inf' was not declared in this scope
     dis[i][j]=Inf;
               ^
0_0_16218173_9753.cpp:27:20: error: 'u' was not declared in this scope
    scanf("%d%d%d",&u,&v,&w);
                    ^
0_0_16218173_9753.cpp:27:23: error: 'v' was not declared in this scope
    scanf("%d%d%d",&u,&v,&w);
                       ^
0_0_16218173_9753.cpp:27:26: error: 'w' was not declared in this scope
    scanf("%d%d%d",&u,&v,&w);
                          ^
0_0_16218173_9753.cpp:28:8: error: 'dis' was not declared in this scope
    if (dis[u][v]>w) dis[u][v]=dis[v][u]=dis;
        ^
0_0_16218173_9753.cpp:33:6: error: 'dis' was not declared in this scope
      dis[i][j]=Min(dis[i][j],dis[i][k]+dis[k][j]);
      ^
0_0_16218173_9753.cpp:33:49: error: 'Min' was not declared in this scope
      dis[i][j]=Min(dis[i][j],dis[i][k]+dis[k][j]);
                                                 ^
0_0_16218173_9753.cpp:34:27: error: 'tri' was not declared in this scope
   for (int state=0;state<=tri[n+1]-1;state++)
                           ^
0_0_16218173_9753.cpp:40:18: error: 'dis' was not declared in this scope
      if (i==j || dis[i][j]=Inf) continue;
                  ^
0_0_16218173_9753.cpp:40:28: error: 'Inf' was not declared in this scope
      if (i==j || dis[i][j]=Inf) continue;
                            ^
0_0_16218173_9753.cpp:41:10: error: expected primary-expression before ')' token
      if ()
          ^
0_0_16218173_9753.cpp:41:10: error: expected statement at end of input
0_0_16218173_9753.cpp:41:10: error: expected '}' at end of input
0_0_16218173_9753.cpp:41:10: error: expected '}' at end of input
0_0_16218173_9753.cpp:41:10: error: expected '}' at end of input
0_0_16218173_9753.cpp:41:10: error: expected '}' at end of input
0_0_16218173_9753.cpp:41:10: error: expected '}' at end of input


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-17 18:30:48, Gzip enabled