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_28678745_19874.cpp: In function 'void dijkstra(int)':
0_0_28678745_19874.cpp:23:9: error: 'mark' was not declared in this scope
  memset(mark,0,sizeof(mark));
         ^
0_0_28678745_19874.cpp:25:3: error: 'ans' was not declared in this scope
   ans[i]=mapp[start][i];
   ^
0_0_28678745_19874.cpp:25:10: error: 'mapp' was not declared in this scope
   ans[i]=mapp[start][i];
          ^
0_0_28678745_19874.cpp:27:2: error: 'ans' was not declared in this scope
  ans[start]=0;
  ^
0_0_28678745_19874.cpp:39:14: error: 'mapp' was not declared in this scope
    if(ans[j]>mapp[loca][j]+ans[loca]){
              ^
0_0_28678745_19874.cpp: In function 'int main()':
0_0_28678745_19874.cpp:55:4: error: 'mapp' was not declared in this scope
    mapp[i][j]=INF;
    ^
0_0_28678745_19874.cpp:63:7: error: 'mapp' was not declared in this scope
    if(mapp[q][p]>t){
       ^
0_0_28678745_19874.cpp:74:16: error: 'ans' was not declared in this scope
    if(shortest>ans[s]){
                ^


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-19 22:41:27, Gzip enabled