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_24312862_30028.cpp:85:1: error: 'prime' does not name a type
 prime
 ^
0_0_24312862_30028.cpp:92:5: error: redefinition of 'int city'
 int city,road;
     ^
0_0_24312862_30028.cpp:9:5: note: 'int city' previously declared here
 int city,road;
     ^
0_0_24312862_30028.cpp:92:10: error: redefinition of 'int road'
 int city,road;
          ^
0_0_24312862_30028.cpp:9:10: note: 'int road' previously declared here
 int city,road;
          ^
0_0_24312862_30028.cpp: In function 'void prime()':
0_0_24312862_30028.cpp:99:9: error: 'visit' was not declared in this scope
         visit[i]=0;
         ^
0_0_24312862_30028.cpp:100:9: error: 'low' was not declared in this scope
         low[i]=map[1][i];
         ^
0_0_24312862_30028.cpp:100:16: error: 'map' was not declared in this scope
         low[i]=map[1][i];
                ^
0_0_24312862_30028.cpp:102:5: error: 'visit' was not declared in this scope
     visit[1]=1;
     ^
0_0_24312862_30028.cpp:109:31: error: 'low' was not declared in this scope
             if(!visit[j]&&min>low[j])
                               ^
0_0_24312862_30028.cpp:124:27: error: 'map' was not declared in this scope
             if(!visit[j]&&map[next][j]<low[j])
                           ^
0_0_24312862_30028.cpp:124:40: error: 'low' was not declared in this scope
             if(!visit[j]&&map[next][j]<low[j])
                                        ^
0_0_24312862_30028.cpp: In function 'int main()':
0_0_24312862_30028.cpp:132:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_24312862_30028.cpp:41:5: note: 'int main()' previously defined here
 int main()
     ^
0_0_24312862_30028.cpp:142:17: error: 'map' was not declared in this scope
                 map[i][j]=0;
                 ^
0_0_24312862_30028.cpp:144:17: error: 'map' was not declared in this scope
                 map[i][j]=INF;
                 ^
0_0_24312862_30028.cpp:150:16: error: 'map' was not declared in this scope
             if(map[x][y]>c)
                ^


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-23 05:02:16, Gzip enabled