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_36425110_16395.cpp:47:5: error: redefinition of 'long long int T'
 int T = 1, n, c[N], y = 19560929;
     ^
0_0_36425110_16395.cpp:41:5: note: 'long long int T' previously defined here
 int T = 1, n, c[N], y = 19560929;
     ^
0_0_36425110_16395.cpp:47:12: error: redefinition of 'long long int n'
 int T = 1, n, c[N], y = 19560929;
            ^
0_0_36425110_16395.cpp:41:12: note: 'long long int n' previously declared here
 int T = 1, n, c[N], y = 19560929;
            ^
0_0_36425110_16395.cpp:47:18: error: redefinition of 'long long int c [2005]'
 int T = 1, n, c[N], y = 19560929;
                  ^
0_0_36425110_16395.cpp:41:15: note: 'long long int c [2005]' previously declared here
 int T = 1, n, c[N], y = 19560929;
               ^
0_0_36425110_16395.cpp:47:21: error: redefinition of 'long long int y'
 int T = 1, n, c[N], y = 19560929;
                     ^
0_0_36425110_16395.cpp:41:21: note: 'long long int y' previously defined here
 int T = 1, n, c[N], y = 19560929;
                     ^
0_0_36425110_16395.cpp:48:11: error: redefinition of 'long long int a [2005][2005]'
 int a[N][N];               //存经过的颜色种类数
           ^
0_0_36425110_16395.cpp:42:5: note: 'long long int a [2005][2005]' previously declared here
 int a[N][N];
     ^
0_0_36425110_16395.cpp:49:11: error: redefinition of 'bool vis [2005]'
 bool vis[N];               //表示该颜色是否访问过
           ^
0_0_36425110_16395.cpp:43:6: note: 'bool vis [2005]' previously declared here
 bool vis[N];
      ^
0_0_36425110_16395.cpp:51:16: error: redefinition of 'std::vector<long long int> g [2005]'
 vector<int> g[N];          //存图
                ^
0_0_36425110_16395.cpp:45:13: note: 'std::vector<long long int> g [2005]' previously declared here
 vector<int> g[N];
             ^
0_0_36425110_16395.cpp:67:15: error: '::main' must return 'int'
 unsigned 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 16:00:17, Gzip enabled