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_36314665_12933.cpp:99:2: error: stray '#' in program
 }#include <iostream>
  ^
0_0_36314665_12933.cpp:99:3: error: 'include' does not name a type
 }#include <iostream>
   ^
0_0_36314665_12933.cpp:108:18: error: redefinition of 'int mp [1050][1050]'
 int mp[1050][1050];
                  ^
0_0_36314665_12933.cpp:10:5: note: 'int mp [1050][1050]' previously declared here
 int mp[1050][1050];
     ^
0_0_36314665_12933.cpp:109:13: error: redefinition of 'int vis [1050]'
 int vis[1050];
             ^
0_0_36314665_12933.cpp:11:5: note: 'int vis [1050]' previously declared here
 int vis[1050];
     ^
0_0_36314665_12933.cpp:110:13: error: redefinition of 'int dis [1050]'
 int dis[1050];
             ^
0_0_36314665_12933.cpp:12:5: note: 'int dis [1050]' previously declared here
 int dis[1050];
     ^
0_0_36314665_12933.cpp:112:5: error: redefinition of 'int len'
 int len; 
     ^
0_0_36314665_12933.cpp:14:5: note: 'int len' previously declared here
 int len; 
     ^
0_0_36314665_12933.cpp: In function 'void dijkstra(int)':
0_0_36314665_12933.cpp:114:6: error: redefinition of 'void dijkstra(int)'
 void dijkstra(int len)
      ^
0_0_36314665_12933.cpp:16:6: note: 'void dijkstra(int)' previously defined here
 void dijkstra(int len)
      ^
0_0_36314665_12933.cpp: In function 'void add(int, int, int)':
0_0_36314665_12933.cpp:139:6: error: redefinition of 'void add(int, int, int)'
 void add(int x, int y, int time)
      ^
0_0_36314665_12933.cpp:41:6: note: 'void add(int, int, int)' previously defined here
 void add(int x, int y, int time)
      ^
0_0_36314665_12933.cpp: In function 'int main()':
0_0_36314665_12933.cpp:149:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_36314665_12933.cpp:51:5: note: 'int main()' previously defined here
 int main()
     ^


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-29 17:32:53, Gzip enabled