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_20550840_3226.cpp:78:11: error: redefinition of 'const int MOD'
 const int MOD = 1e9+7;
           ^
0_0_20550840_3226.cpp:11:11: note: 'const int MOD' previously defined here
 const int MOD = 1e9+7;
           ^
0_0_20550840_3226.cpp:79:12: error: conflicting declaration 'const auto INF'
 const auto INF = 0x3f3f3f3f;
            ^
0_0_20550840_3226.cpp:12:12: note: previous declaration as 'const int INF'
 const auto INF = 0x3f3f3f3f;
            ^
0_0_20550840_3226.cpp:80:11: error: redefinition of 'const int N'
 const int N = 1e2+5;
           ^
0_0_20550840_3226.cpp:13:11: note: 'const int N' previously defined here
 const int N = 1e2+5;
           ^
0_0_20550840_3226.cpp:81:11: error: redefinition of 'char str [105]'
 char str[N], ch[N], ans[N];
           ^
0_0_20550840_3226.cpp:14:6: note: 'char str [105]' previously declared here
 char str[N], ch[N], ans[N];
      ^
0_0_20550840_3226.cpp:81:18: error: redefinition of 'char ch [105]'
 char str[N], ch[N], ans[N];
                  ^
0_0_20550840_3226.cpp:14:14: note: 'char ch [105]' previously declared here
 char str[N], ch[N], ans[N];
              ^
0_0_20550840_3226.cpp:81:26: error: redefinition of 'char ans [105]'
 char str[N], ch[N], ans[N];
                          ^
0_0_20550840_3226.cpp:14:21: note: 'char ans [105]' previously declared here
 char str[N], ch[N], ans[N];
                     ^
0_0_20550840_3226.cpp:82:18: error: redefinition of 'std::map<std::basic_string<char>, int> maps'
 map<string, int> maps;
                  ^
0_0_20550840_3226.cpp:15:18: note: 'std::map<std::basic_string<char>, int> maps' previously declared here
 map<string, int> maps;
                  ^
0_0_20550840_3226.cpp: In function 'int main()':
0_0_20550840_3226.cpp:83:5: error: redefinition of 'int main()'
 int main() {
     ^
0_0_20550840_3226.cpp:16: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 07:57:00, Gzip enabled