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()
^
|