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_29953030_30400.cpp:60:2: error: stray '#' in program
 }#include<cstring>
  ^
0_0_29953030_30400.cpp:60:3: error: 'include' does not name a type
 }#include<cstring>
   ^
0_0_29953030_30400.cpp:64:11: error: redefinition of 'const int M'
 const int M = 4e4 + 7;
           ^
0_0_29953030_30400.cpp:5:11: note: 'const int M' previously defined here
 const int M = 4e4 + 7;
           ^
0_0_29953030_30400.cpp:66:12: error: redefinition of 'ull hashs [40007]'
 ull hashs[M], hashx, hasht, pw[M], p = 27;
            ^
0_0_29953030_30400.cpp:7:5: note: 'ull hashs [40007]' previously declared here
 ull hashs[M], hashx, hasht, pw[M], p = 27;
     ^
0_0_29953030_30400.cpp:66:15: error: redefinition of 'ull hashx'
 ull hashs[M], hashx, hasht, pw[M], p = 27;
               ^
0_0_29953030_30400.cpp:7:15: note: 'ull hashx' previously declared here
 ull hashs[M], hashx, hasht, pw[M], p = 27;
               ^
0_0_29953030_30400.cpp:66:22: error: redefinition of 'ull hasht'
 ull hashs[M], hashx, hasht, pw[M], p = 27;
                      ^
0_0_29953030_30400.cpp:7:22: note: 'ull hasht' previously declared here
 ull hashs[M], hashx, hasht, pw[M], p = 27;
                      ^
0_0_29953030_30400.cpp:66:33: error: redefinition of 'ull pw [40007]'
 ull hashs[M], hashx, hasht, pw[M], p = 27;
                                 ^
0_0_29953030_30400.cpp:7:29: note: 'ull pw [40007]' previously declared here
 ull hashs[M], hashx, hasht, pw[M], p = 27;
                             ^
0_0_29953030_30400.cpp:66:36: error: redefinition of 'ull p'
 ull hashs[M], hashx, hasht, pw[M], p = 27;
                                    ^
0_0_29953030_30400.cpp:7:36: note: 'ull p' previously defined here
 ull hashs[M], hashx, hasht, pw[M], p = 27;
                                    ^
0_0_29953030_30400.cpp:67:11: error: redefinition of 'char str [40007]'
 char str[M];
           ^
0_0_29953030_30400.cpp:8:6: note: 'char str [40007]' previously declared here
 char str[M];
      ^
0_0_29953030_30400.cpp:68:14: error: redefinition of 'std::map<int, int> mp'
 map<int, int>mp;
              ^
0_0_29953030_30400.cpp:9:14: note: 'std::map<int, int> mp' previously declared here
 map<int, int>mp;
              ^
0_0_29953030_30400.cpp: In function 'int main()':
0_0_29953030_30400.cpp:69:5: error: redefinition of 'int main()'
 int main() {
     ^
0_0_29953030_30400.cpp:10: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-10-07 00:25:03, Gzip enabled