A New Chess Piece
CodeChefOpen on judge ↗
A New Chess Piece We have introduced a new chess piece which can move only a single square at once to his left, right, upper-left or upper-right as shown in the figure- View Image Here The chess board can be considered as a rectangle of M rows by N columns of unit squares. What is the maximum number of these pieces that can be placed on a chess board of size M*N such that all the pieces are sa
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start