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_35880973_11214.cpp:11:10: error: stray '#' in program
 int u, v;#include <vector>
          ^
0_0_35880973_11214.cpp:11:11: error: 'include' does not name a type
 int u, v;#include <vector>
           ^
0_0_35880973_11214.cpp:17:11: error: redefinition of 'const int N'
 const int N = 5e2+5;
           ^
0_0_35880973_11214.cpp:7:11: note: 'const int N' previously defined here
 const int N = 5e2+5;
           ^
0_0_35880973_11214.cpp:18:13: error: redefinition of 'int Map [505][505]'
 int Map[N][N];
             ^
0_0_35880973_11214.cpp:8:5: note: 'int Map [505][505]' previously declared here
 int Map[N][N];
     ^
0_0_35880973_11214.cpp:19:19: error: redefinition of 'std::vector<int> depth'
 vector<int> depth(N, 0);
                   ^
0_0_35880973_11214.cpp:9:13: note: 'std::vector<int> depth' previously declared here
 vector<int> depth(N, 0);
             ^
0_0_35880973_11214.cpp:20:5: error: redefinition of 'int n'
 int n, m;
     ^
0_0_35880973_11214.cpp:10:5: note: 'int n' previously declared here
 int n, m;
     ^
0_0_35880973_11214.cpp:20:8: error: redefinition of 'int m'
 int n, m;
        ^
0_0_35880973_11214.cpp:10:8: note: 'int m' previously declared here
 int n, m;
        ^
0_0_35880973_11214.cpp:21:5: error: redefinition of 'int u'
 int u, v;
     ^
0_0_35880973_11214.cpp:11:5: note: 'int u' previously declared here
 int u, v;#include <vector>
     ^
0_0_35880973_11214.cpp:21:8: error: redefinition of 'int v'
 int u, v;
        ^
0_0_35880973_11214.cpp:11:8: note: 'int v' previously declared here
 int u, v;#include <vector>
        ^
0_0_35880973_11214.cpp: In function 'void topSort()':
0_0_35880973_11214.cpp:73:6: error: redefinition of 'void topSort()'
 void topSort() {
      ^
0_0_35880973_11214.cpp:23:6: note: 'void topSort()' previously defined here
 void topSort() {
      ^
0_0_35880973_11214.cpp: In function 'int main()':
0_0_35880973_11214.cpp:104:5: error: redefinition of 'int main()'
 int main () {
     ^
0_0_35880973_11214.cpp:54: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-07-01 12:58:13, Gzip enabled