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_30128881_20895.cpp:96:11: error: redefinition of 'const int maxn'
 const int maxn=3000010;
           ^
0_0_30128881_20895.cpp:5:11: note: 'const int maxn' previously defined here
 const int maxn=3000010;
           ^
0_0_30128881_20895.cpp:97:8: error: redefinition of 'struct Trie'
 struct Trie {
        ^
0_0_30128881_20895.cpp:6:8: error: previous definition of 'struct Trie'
 struct Trie {
        ^
0_0_30128881_20895.cpp:119:13: error: redefinition of 'std::vector<int> ans'
 vector<int> ans;
             ^
0_0_30128881_20895.cpp:28:13: note: 'std::vector<int> ans' previously declared here
 vector<int> ans;
             ^
0_0_30128881_20895.cpp:120:6: error: redefinition of 'Trie a'
 Trie a,b;
      ^
0_0_30128881_20895.cpp:29:6: note: 'Trie a' previously declared here
 Trie a,b;
      ^
0_0_30128881_20895.cpp:120:8: error: redefinition of 'Trie b'
 Trie a,b;
        ^
0_0_30128881_20895.cpp:29:8: note: 'Trie b' previously declared here
 Trie a,b;
        ^
0_0_30128881_20895.cpp: In function 'int solve()':
0_0_30128881_20895.cpp:122:5: error: redefinition of 'int solve()'
 int solve(){
     ^
0_0_30128881_20895.cpp:31:5: note: 'int solve()' previously defined here
 int solve(){
     ^
0_0_30128881_20895.cpp: In function 'int main()':
0_0_30128881_20895.cpp:158:5: error: redefinition of 'int main()'
 int main() {
     ^
0_0_30128881_20895.cpp:67: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-06 04:35:58, Gzip enabled