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_17024902_244.cpp:2:14: error: 'seed' was not declared in this scope
     int head[seed],next[maxn],size;  
              ^
0_0_17024902_244.cpp:2:25: error: 'maxn' was not declared in this scope
     int head[seed],next[maxn],size;  
                         ^
0_0_17024902_244.cpp:3:5: error: 'LL' does not name a type
     LL state[maxn];  
     ^
0_0_17024902_244.cpp:4:5: error: 'LL' does not name a type
     LL f[maxn];  
     ^
0_0_17024902_244.cpp:9:17: error: 'LL' has not been declared
     void insert(LL st,LL ans){  
                 ^
0_0_17024902_244.cpp:9:23: error: 'LL' has not been declared
     void insert(LL st,LL ans){  
                       ^
0_0_17024902_244.cpp: In member function 'void HASHMAP::clear()':
0_0_17024902_244.cpp:7:16: error: 'head' was not declared in this scope
         memset(head,-1,sizeof(head));  
                ^
0_0_17024902_244.cpp:7:36: error: 'memset' was not declared in this scope
         memset(head,-1,sizeof(head));  
                                    ^
0_0_17024902_244.cpp: In member function 'void HASHMAP::insert(int, int)':
0_0_17024902_244.cpp:10:18: error: 'seed' was not declared in this scope
         int h=st%seed;  
                  ^
0_0_17024902_244.cpp:11:20: error: 'head' was not declared in this scope
         for (int i=head[h];i!=-1;i=next[i]){  
                    ^
0_0_17024902_244.cpp:11:36: error: 'next' was not declared in this scope
         for (int i=head[h];i!=-1;i=next[i]){  
                                    ^
0_0_17024902_244.cpp:12:17: error: 'state' was not declared in this scope
             if (state[i]==st){  
                 ^
0_0_17024902_244.cpp:13:17: error: 'f' was not declared in this scope
                 f[i]+=ans;  
                 ^
0_0_17024902_244.cpp:17:9: error: 'state' was not declared in this scope
         state[size]=st;  
         ^
0_0_17024902_244.cpp:18:9: error: 'f' was not declared in this scope
         f[size]=ans;  
         ^
0_0_17024902_244.cpp:19:9: error: 'next' was not declared in this scope
         next[size]=head[h];  
         ^
0_0_17024902_244.cpp:19:20: error: 'head' was not declared in this scope
         next[size]=head[h];  
                    ^


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-11 01:54:45, Gzip enabled