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_36756398_13425.cpp:124:12: error: redefinition of 'char s [1000006]'
 char s[MAXN];
            ^
0_0_36756398_13425.cpp:17:6: note: 'char s [1000006]' previously declared here
 char s[MAXN];
      ^
0_0_36756398_13425.cpp:125:18: error: redefinition of 'int trie [1000006][30]'
 int trie[MAXN][30],vis[MAXN],fail[MAXN];
                  ^
0_0_36756398_13425.cpp:18:5: note: 'int trie [1000006][30]' previously declared here
 int trie[MAXN][30],vis[MAXN],fail[MAXN];
     ^
0_0_36756398_13425.cpp:125:28: error: redefinition of 'int vis [1000006]'
 int trie[MAXN][30],vis[MAXN],fail[MAXN];
                            ^
0_0_36756398_13425.cpp:18:20: note: 'int vis [1000006]' previously declared here
 int trie[MAXN][30],vis[MAXN],fail[MAXN];
                    ^
0_0_36756398_13425.cpp:125:39: error: redefinition of 'int fail [1000006]'
 int trie[MAXN][30],vis[MAXN],fail[MAXN];
                                       ^
0_0_36756398_13425.cpp:18:30: note: 'int fail [1000006]' previously declared here
 int trie[MAXN][30],vis[MAXN],fail[MAXN];
                              ^
0_0_36756398_13425.cpp:126:11: error: redefinition of 'int f [1000006]'
 int f[MAXN];
           ^
0_0_36756398_13425.cpp:19:5: note: 'int f [1000006]' previously declared here
 int f[MAXN];
     ^
0_0_36756398_13425.cpp:127:5: error: redefinition of 'int tot'
 int tot;
     ^
0_0_36756398_13425.cpp:20:5: note: 'int tot' previously declared here
 int tot;
     ^
0_0_36756398_13425.cpp: In function 'int new_node()':
0_0_36756398_13425.cpp:128:5: error: redefinition of 'int new_node()'
 int new_node()
     ^
0_0_36756398_13425.cpp:21:5: note: 'int new_node()' previously defined here
 int new_node()
     ^
0_0_36756398_13425.cpp: In function 'void init()':
0_0_36756398_13425.cpp:135:6: error: redefinition of 'void init()'
 void init()
      ^
0_0_36756398_13425.cpp:28:6: note: 'void init()' previously defined here
 void init()
      ^
0_0_36756398_13425.cpp: In function 'void Insert(char*)':
0_0_36756398_13425.cpp:142:6: error: redefinition of 'void Insert(char*)'
 void Insert(char *a)
      ^
0_0_36756398_13425.cpp:35:6: note: 'void Insert(char*)' previously defined here
 void Insert(char *a)
      ^
0_0_36756398_13425.cpp: At global scope:
0_0_36756398_13425.cpp:154:13: error: redefinition of 'int que [1000006]'
 int que[MAXN];
             ^
0_0_36756398_13425.cpp:47:5: note: 'int que [1000006]' previously declared here
 int que[MAXN];
     ^
0_0_36756398_13425.cpp: In function 'void getfail()':
0_0_36756398_13425.cpp:155:6: error: redefinition of 'void getfail()'
 void getfail()
      ^
0_0_36756398_13425.cpp:48:6: note: 'void getfail()' previously defined here
 void getfail()
      ^
0_0_36756398_13425.cpp: In function 'void query(char*)':
0_0_36756398_13425.cpp:174:6: error: redefinition of 'void query(char*)'
 void query(char *a)
      ^
0_0_36756398_13425.cpp:67:6: note: 'void query(char*)' previously defined here
 void query(char *a)
      ^
0_0_36756398_13425.cpp: In function 'int main()':
0_0_36756398_13425.cpp:187:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_36756398_13425.cpp:80: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-23 08:54:32, Gzip enabled