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_33986170_26610.cpp:99:2: error: stray '#' in program
 }#include <iostream>
  ^
0_0_33986170_26610.cpp:99:3: error: 'include' does not name a type
 }#include <iostream>
   ^
0_0_33986170_26610.cpp:114:11: error: redefinition of 'const int N'
 const int N = 3e5 + 5000;
           ^
0_0_33986170_26610.cpp:16:11: note: 'const int N' previously defined here
 const int N = 3e5 + 5000;
           ^
0_0_33986170_26610.cpp:115:5: error: redefinition of 'int n'
 int n, m, T, r, b, a[N], c[N], in[N], w[N], dis[N], vis[N];
     ^
0_0_33986170_26610.cpp:17:5: note: 'int n' previously declared here
 int n, m, T, r, b, a[N], c[N], in[N], w[N], dis[N], vis[N];
     ^
0_0_33986170_26610.cpp:115:8: error: redefinition of 'int m'
 int n, m, T, r, b, a[N], c[N], in[N], w[N], dis[N], vis[N];
        ^
0_0_33986170_26610.cpp:17:8: note: 'int m' previously declared here
 int n, m, T, r, b, a[N], c[N], in[N], w[N], dis[N], vis[N];
        ^
0_0_33986170_26610.cpp:115:11: error: redefinition of 'int T'
 int n, m, T, r, b, a[N], c[N], in[N], w[N], dis[N], vis[N];
           ^
0_0_33986170_26610.cpp:17:11: note: 'int T' previously declared here
 int n, m, T, r, b, a[N], c[N], in[N], w[N], dis[N], vis[N];
           ^
0_0_33986170_26610.cpp:115:14: error: redefinition of 'int r'
 int n, m, T, r, b, a[N], c[N], in[N], w[N], dis[N], vis[N];
              ^
0_0_33986170_26610.cpp:17:14: note: 'int r' previously declared here
 int n, m, T, r, b, a[N], c[N], in[N], w[N], dis[N], vis[N];
              ^
0_0_33986170_26610.cpp:115:17: error: redefinition of 'int b'
 int n, m, T, r, b, a[N], c[N], in[N], w[N], dis[N], vis[N];
                 ^
0_0_33986170_26610.cpp:17:17: note: 'int b' previously declared here
 int n, m, T, r, b, a[N], c[N], in[N], w[N], dis[N], vis[N];
                 ^
0_0_33986170_26610.cpp:115:23: error: redefinition of 'int a [305000]'
 int n, m, T, r, b, a[N], c[N], in[N], w[N], dis[N], vis[N];
                       ^
0_0_33986170_26610.cpp:17:20: note: 'int a [305000]' previously declared here
 int n, m, T, r, b, a[N], c[N], in[N], w[N], dis[N], vis[N];
                    ^
0_0_33986170_26610.cpp:115:29: error: redefinition of 'int c [305000]'
 int n, m, T, r, b, a[N], c[N], in[N], w[N], dis[N], vis[N];
                             ^
0_0_33986170_26610.cpp:17:26: note: 'int c [305000]' previously declared here
 int n, m, T, r, b, a[N], c[N], in[N], w[N], dis[N], vis[N];
                          ^
0_0_33986170_26610.cpp:115:36: error: redefinition of 'int in [305000]'
 int n, m, T, r, b, a[N], c[N], in[N], w[N], dis[N], vis[N];
                                    ^
0_0_33986170_26610.cpp:17:32: note: 'int in [305000]' previously declared here
 int n, m, T, r, b, a[N], c[N], in[N], w[N], dis[N], vis[N];
                                ^
0_0_33986170_26610.cpp:115:42: error: redefinition of 'int w [305000]'
 int n, m, T, r, b, a[N], c[N], in[N], w[N], dis[N], vis[N];
                                          ^
0_0_33986170_26610.cpp:17:39: note: 'int w [305000]' previously declared here
 int n, m, T, r, b, a[N], c[N], in[N], w[N], dis[N], vis[N];
                                       ^
0_0_33986170_26610.cpp:115:50: error: redefinition of 'int dis [305000]'
 int n, m, T, r, b, a[N], c[N], in[N], w[N], dis[N], vis[N];
                                                  ^
0_0_33986170_26610.cpp:17:45: note: 'int dis [305000]' previously declared here
 int n, m, T, r, b, a[N], c[N], in[N], w[N], dis[N], vis[N];
                                             ^
0_0_33986170_26610.cpp:115:58: error: redefinition of 'int vis [305000]'
 int n, m, T, r, b, a[N], c[N], in[N], w[N], dis[N], vis[N];
                                                          ^
0_0_33986170_26610.cpp:17:53: note: 'int vis [305000]' previously declared here
 int n, m, T, r, b, a[N], c[N], in[N], w[N], dis[N], vis[N];
                                                     ^
0_0_33986170_26610.cpp:116:16: error: redefinition of 'std::vector<int> v [305000]'
 vector<int> v[N];
                ^
0_0_33986170_26610.cpp:18:13: note: 'std::vector<int> v [305000]' previously declared here
 vector<int> v[N];
             ^
0_0_33986170_26610.cpp:117:32: error: redefinition of 'std::priority_queue<std::pair<int, int> > q'
 priority_queue<pair<int, int>> q;
                                ^
0_0_33986170_26610.cpp:19:32: note: 'std::priority_queue<std::pair<int, int> > q' previously declared here
 priority_queue<pair<int, int>> q;
                                ^
0_0_33986170_26610.cpp: In function 'void dijkstra()':
0_0_33986170_26610.cpp:119:6: error: redefinition of 'void dijkstra()'
 void dijkstra() {
      ^
0_0_33986170_26610.cpp:21:6: note: 'void dijkstra()' previously defined here
 void dijkstra() {
      ^
0_0_33986170_26610.cpp: In function 'int main()':
0_0_33986170_26610.cpp:158:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_33986170_26610.cpp:60: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-26 03:18:45, Gzip enabled