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_36431269_28184.cpp:4:15: error: expected initializer before numeric constant
 const int inf 0xfffffff
               ^
0_0_36431269_28184.cpp: In function 'void djstl(int)':
0_0_36431269_28184.cpp:22:3: error: 'dis' was not declared in this scope
   dis[i]=mp[a][i];
   ^
0_0_36431269_28184.cpp:22:10: error: 'mp' was not declared in this scope
   dis[i]=mp[a][i];
          ^
0_0_36431269_28184.cpp:23:9: error: 'vis' was not declared in this scope
  memset(vis,0,sizeof(vis));
         ^
0_0_36431269_28184.cpp:27:12: error: 'inf' was not declared in this scope
   int minn=inf; 
            ^
0_0_36431269_28184.cpp:31:21: error: 'dis' was not declared in this scope
    if(!vis[j]&&minn>dis[j])
                     ^
0_0_36431269_28184.cpp:39:7: error: 'dis' was not declared in this scope
    if(dis[j]>dis[k]+mp[k][j])
       ^
0_0_36431269_28184.cpp:39:21: error: 'mp' was not declared in this scope
    if(dis[j]>dis[k]+mp[k][j])
                     ^
0_0_36431269_28184.cpp: In function 'int main()':
0_0_36431269_28184.cpp:53:5: error: 'mp' was not declared in this scope
     mp[i][j]=inf;
     ^
0_0_36431269_28184.cpp:53:14: error: 'inf' was not declared in this scope
     mp[i][j]=inf;
              ^
0_0_36431269_28184.cpp:57:9: error: 'mp' was not declared in this scope
    if(z<mp[x][y]) 
         ^
0_0_36431269_28184.cpp:61:17: error: 'dis' was not declared in this scope
   printf("%d\n",dis[n]);
                 ^


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