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


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-01-10 21:58:16, Gzip enabled