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_24508681_2762.cpp:132:11: error: redefinition of 'const int maxn'
 const int maxn = 105, maxv = 25;
           ^
0_0_24508681_2762.cpp:10:11: note: 'const int maxn' previously defined here
 const int maxn = 105, maxv = 25;
           ^
0_0_24508681_2762.cpp:132:23: error: redefinition of 'const int maxv'
 const int maxn = 105, maxv = 25;
                       ^
0_0_24508681_2762.cpp:10:23: note: 'const int maxv' previously defined here
 const int maxn = 105, maxv = 25;
                       ^
0_0_24508681_2762.cpp:133:5: error: redefinition of 'int n'
 int n, m;
     ^
0_0_24508681_2762.cpp:11:5: note: 'int n' previously declared here
 int n, m;
     ^
0_0_24508681_2762.cpp:133:8: error: redefinition of 'int m'
 int n, m;
        ^
0_0_24508681_2762.cpp:11:8: note: 'int m' previously declared here
 int n, m;
        ^
0_0_24508681_2762.cpp:134:18: error: redefinition of 'std::map<std::basic_string<char>, int> Map1'
 map<string, int> Map1;
                  ^
0_0_24508681_2762.cpp:12:18: note: 'std::map<std::basic_string<char>, int> Map1' previously declared here
 map<string, int> Map1;
                  ^
0_0_24508681_2762.cpp:135:18: error: redefinition of 'std::map<int, std::basic_string<char> > Map2'
 map<int, string> Map2;
                  ^
0_0_24508681_2762.cpp:13:18: note: 'std::map<int, std::basic_string<char> > Map2' previously declared here
 map<int, string> Map2;
                  ^
0_0_24508681_2762.cpp:136:20: error: redefinition of 'std::vector<int> G1 [105]'
 vector<int> G1[maxn], G2[maxn];
                    ^
0_0_24508681_2762.cpp:14:13: note: 'std::vector<int> G1 [105]' previously declared here
 vector<int> G1[maxn], G2[maxn];
             ^
0_0_24508681_2762.cpp:136:30: error: redefinition of 'std::vector<int> G2 [105]'
 vector<int> G1[maxn], G2[maxn];
                              ^
0_0_24508681_2762.cpp:14:23: note: 'std::vector<int> G2 [105]' previously declared here
 vector<int> G1[maxn], G2[maxn];
                       ^
0_0_24508681_2762.cpp:137:11: error: redefinition of 'int a [105]'
 int a[maxn];
           ^
0_0_24508681_2762.cpp:15:5: note: 'int a [105]' previously declared here
 int a[maxn];
     ^
0_0_24508681_2762.cpp:138:14: error: redefinition of 'bool vis [105]'
 bool vis[maxn], vistmp[maxn];
              ^
0_0_24508681_2762.cpp:16:6: note: 'bool vis [105]' previously declared here
 bool vis[maxn], vistmp[maxn];
      ^
0_0_24508681_2762.cpp:138:28: error: redefinition of 'bool vistmp [105]'
 bool vis[maxn], vistmp[maxn];
                            ^
0_0_24508681_2762.cpp:16:17: note: 'bool vistmp [105]' previously declared here
 bool vis[maxn], vistmp[maxn];
                 ^
0_0_24508681_2762.cpp:139:16: error: redefinition of 'std::string str [105]'
 string str[maxn];
                ^
0_0_24508681_2762.cpp:17:8: note: 'std::string str [105]' previously declared here
 string str[maxn];
        ^
0_0_24508681_2762.cpp: In function 'void solve()':
0_0_24508681_2762.cpp:141:6: error: redefinition of 'void solve()'
 void solve()
      ^
0_0_24508681_2762.cpp:19:6: note: 'void solve()' previously defined here
 void solve()
      ^
0_0_24508681_2762.cpp: In function 'int main()':
0_0_24508681_2762.cpp:238:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_24508681_2762.cpp:116: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-06-27 02:26:37, Gzip enabled