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_15484017_30857.cpp: In function 'void encode(int*, int)':
0_0_15484017_30857.cpp:64:9: error: return-statement with a value, in function returning 'void' [-fpermissive]
  return ret;
         ^
0_0_15484017_30857.cpp: In function 'void dpblock(int, int, int)':
0_0_15484017_30857.cpp:79:47: error: invalid use of void expression
   hm[cur^1].push(encode(code, m), hm[cur].f[k]);
                                               ^
0_0_15484017_30857.cpp: In function 'void solve()':
0_0_15484017_30857.cpp:91:22: error: 'dpblank' was not declared in this scope
     dpblank(i, j, cur);
                      ^
0_0_15484017_30857.cpp:98:9: error: return-statement with a value, in function returning 'void' [-fpermissive]
  return ret;
         ^
0_0_15484017_30857.cpp: In function 'int main()':
0_0_15484017_30857.cpp:107:14: error: invalid types 'char[int]' for array subscript
     if(s[i][j] == '.'){
              ^


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.001000(s) query 1, Server time : 2025-01-10 17:59:07, Gzip enabled