0_0_18023374_8752.cpp:137:1: error: 'hdu' does not name a type
hdu 4064
^
0_0_18023374_8752.cpp:142:11: error: redefinition of 'const int hash_size'
const int hash_size=300007;
^
0_0_18023374_8752.cpp:6:11: note: 'const int hash_size' previously defined here
const int hash_size=60007;
^
0_0_18023374_8752.cpp:145:5: error: redefinition of 'int n'
int n, m;
^
0_0_18023374_8752.cpp:9:5: note: 'int n' previously declared here
int n, m;
^
0_0_18023374_8752.cpp:145:8: error: redefinition of 'int m'
int n, m;
^
0_0_18023374_8752.cpp:9:8: note: 'int m' previously declared here
int n, m;
^
0_0_18023374_8752.cpp:146:11: error: redefinition of 'int Pow [40]'
int Pow[40];
^
0_0_18023374_8752.cpp:11:5: note: 'int Pow [40]' previously declared here
int Pow[40];
^
0_0_18023374_8752.cpp:150:8: error: redefinition of 'struct node'
struct node {
^
0_0_18023374_8752.cpp:13:8: error: previous definition of 'struct node'
struct node {
^
0_0_18023374_8752.cpp:175:7: error: invalid type in declaration before ';' token
}hh[2];
^
0_0_18023374_8752.cpp:175:7: error: conflicting declaration 'int hh [2]'
0_0_18023374_8752.cpp:44:2: note: previous declaration as 'node hh [2]'
}hh[2];
^
0_0_18023374_8752.cpp: In function 'void solve()':
0_0_18023374_8752.cpp:177:6: error: redefinition of 'void solve()'
void solve() {
^
0_0_18023374_8752.cpp:46:6: note: 'void solve()' previously defined here
void solve() {
^
0_0_18023374_8752.cpp:191:28: error: 'struct node' has no member named 'size'
for(p=0;p<src->size ;p++) {
^
0_0_18023374_8752.cpp:198:26: error: 'struct node' has no member named 'sum'
des->sum =(des->sum +val)%mod;
^
0_0_18023374_8752.cpp:198:37: error: 'struct node' has no member named 'sum'
des->sum =(des->sum +val)%mod;
^
0_0_18023374_8752.cpp:214:43: error: 'struct node' has no member named 'sum'
printf("Case %d: %I64d\n", Case, src->sum );
^
0_0_18023374_8752.cpp: In function 'int main()':
0_0_18023374_8752.cpp:217:5: error: redefinition of 'int main()'
int main () {
^
0_0_18023374_8752.cpp:129:5: note: 'int main()' previously defined here
int main () {
^
|