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_36314737_30811.cpp:86:11: error: redefinition of 'const int N'
 const int N = 1e5 + 10, mod = 1e9 + 9;
           ^
0_0_36314737_30811.cpp:8:11: note: 'const int N' previously defined here
 const int N = 1e6 + 10;
           ^
0_0_36314737_30811.cpp:108:10: error: redefinition of 'int vis [1000010]'
 int vis[N];
          ^
0_0_36314737_30811.cpp:13:5: note: 'int vis [1000010]' previously declared here
 int vis[N];
     ^
0_0_36314737_30811.cpp: In function 'void dfs(int)':
0_0_36314737_30811.cpp:111:6: error: redefinition of 'void dfs(int)'
 void dfs(int p) {
      ^
0_0_36314737_30811.cpp:16:6: note: 'void dfs(int)' previously defined here
 void dfs(int p) {
      ^
0_0_36314737_30811.cpp: In function 'int main()':
0_0_36314737_30811.cpp:120:5: error: redefinition of 'int main()'
 int main() {
     ^
0_0_36314737_30811.cpp:25: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-17 08:23:44, Gzip enabled