← All problemsSign in

Ameya and his Chess Problem

Ameya is a chess wiz. On an eventful day he only places $3$ pieces - the Rook, Bishop and the King. Now to brush up the rules of moving the chess pieces. A chessboard contains $64$ square blocks organized into an $8 * 8$ table - half of the blocks being black and other half being white. A block is represented by a pair of integers ($x$,$y$) - the row number and the column number (we are not tak

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start