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_25113457_20084.cpp: In function 'void setState(int)':
0_0_25113457_20084.cpp:49:17: error: incompatible types in assignment of 'int' to 'int [10][9][10][9]'
  state[s][g][h] = se;
                 ^
0_0_25113457_20084.cpp: In function 'int getState()':
0_0_25113457_20084.cpp:61:22: error: invalid conversion from 'int (*)[9][10][9]' to 'int' [-fpermissive]
  return state[s][g][h];
                      ^
0_0_25113457_20084.cpp: In function 'void init()':
0_0_25113457_20084.cpp:264:17: error: return-statement with a value, in function returning 'void' [-fpermissive]
          return 1;
                 ^
0_0_25113457_20084.cpp:268:17: error: return-statement with a value, in function returning 'void' [-fpermissive]
          return 1;
                 ^
0_0_25113457_20084.cpp:272:17: error: return-statement with a value, in function returning 'void' [-fpermissive]
          return 1;
                 ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-06-29 05:28:16, Gzip enabled