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_38114996_4852.cpp:113:16: error: redefinition of 'const unsigned int p'
 const unsigned p=131;
                ^
0_0_38114996_4852.cpp:52:16: note: 'const unsigned int p' previously defined here
 const unsigned p=131;
                ^
0_0_38114996_4852.cpp:114:11: error: redefinition of 'const int mod'
 const int mod=998244353;
           ^
0_0_38114996_4852.cpp:53:11: note: 'const int mod' previously defined here
 const int mod=998244353;
           ^
0_0_38114996_4852.cpp:115:15: error: redefinition of 'char s [1000005]'
 char s[1000005];
               ^
0_0_38114996_4852.cpp:54:6: note: 'char s [1000005]' previously declared here
 char s[1000005];
      ^
0_0_38114996_4852.cpp:116:16: error: redefinition of 'int sum [1000005]'
 int sum[1000005];
                ^
0_0_38114996_4852.cpp:55:5: note: 'int sum [1000005]' previously declared here
 int sum[1000005];
     ^
0_0_38114996_4852.cpp:117:21: error: redefinition of 'unsigned int hsh [1000005]'
 unsigned hsh[1000005],pw[1000005];
                     ^
0_0_38114996_4852.cpp:56:10: note: 'unsigned int hsh [1000005]' previously declared here
 unsigned hsh[1000005],pw[1000005];
          ^
0_0_38114996_4852.cpp:117:33: error: redefinition of 'unsigned int pw [1000005]'
 unsigned hsh[1000005],pw[1000005];
                                 ^
0_0_38114996_4852.cpp:56:23: note: 'unsigned int pw [1000005]' previously declared here
 unsigned hsh[1000005],pw[1000005];
                       ^
0_0_38114996_4852.cpp: In function 'int calc(int, int)':
0_0_38114996_4852.cpp:118:5: error: redefinition of 'int calc(int, int)'
 int calc(int l,int r)
     ^
0_0_38114996_4852.cpp:57:5: note: 'int calc(int, int)' previously defined here
 int calc(int l,int r)
     ^
0_0_38114996_4852.cpp: In function 'int main()':
0_0_38114996_4852.cpp:122:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_38114996_4852.cpp:61: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-24 02:43:41, Gzip enabled