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_17024911_24378.cpp: In function 'void dpblock(int, int, int)':
0_0_17024911_24378.cpp:2:20: error: 'hm' was not declared in this scope
     for (int k=0;k<hm[cur].size;k++){  
                    ^
0_0_17024911_24378.cpp:3:16: error: 'code' was not declared in this scope
         decode(code,m,hm[cur].state[k]);  
                ^
0_0_17024911_24378.cpp:3:21: error: 'm' was not declared in this scope
         decode(code,m,hm[cur].state[k]);  
                     ^
0_0_17024911_24378.cpp:3:39: error: 'decode' was not declared in this scope
         decode(code,m,hm[cur].state[k]);  
                                       ^
0_0_17024911_24378.cpp:5:31: error: 'shift' was not declared in this scope
         if (j==m) shift(code,m);  
                               ^
0_0_17024911_24378.cpp:6:39: error: 'encode' was not declared in this scope
         hm[cur^1].insert(encode(code,m),hm[cur].f[k]);  
                                       ^


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:56:20, Gzip enabled