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_22134138_27038.cpp:124:8: error: redefinition of 'struct trie'
 struct trie {
        ^
0_0_22134138_27038.cpp:6:8: error: previous definition of 'struct trie'
 struct trie {
        ^
0_0_22134138_27038.cpp:191:4: error: invalid type in declaration before ';' token
 }ac;
    ^
0_0_22134138_27038.cpp:191:4: error: conflicting declaration 'int ac'
0_0_22134138_27038.cpp:73:2: note: previous declaration as 'trie ac'
 }ac;
  ^
0_0_22134138_27038.cpp:193:5: error: redefinition of 'int n'
 int n;
     ^
0_0_22134138_27038.cpp:75:5: note: 'int n' previously declared here
 int n;
     ^
0_0_22134138_27038.cpp:194:12: error: redefinition of 'char t [100005]'
 char t[maxm], str[maxm];
            ^
0_0_22134138_27038.cpp:76:6: note: 'char t [100005]' previously declared here
 char t[maxm], str[maxm];
      ^
0_0_22134138_27038.cpp:194:23: error: redefinition of 'char str [100005]'
 char t[maxm], str[maxm];
                       ^
0_0_22134138_27038.cpp:76:15: note: 'char str [100005]' previously declared here
 char t[maxm], str[maxm];
               ^
0_0_22134138_27038.cpp:195:14: error: redefinition of 'std::string s [100005]'
 string s[maxm];
              ^
0_0_22134138_27038.cpp:77:8: note: 'std::string s [100005]' previously declared here
 string s[maxm];
        ^
0_0_22134138_27038.cpp: In function 'int main()':
0_0_22134138_27038.cpp:197:5: error: redefinition of 'int main()'
 int main () {
     ^
0_0_22134138_27038.cpp:79: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 04:43:35, Gzip enabled