← All problemsSign in

Checkmate

A very straightforward yet tiring problem. You are given the board position in a game of chess. You just need to display if the BLACK king is check-mated or not.The Board is denoted as the indices [row, column] as follows: (For reference, White Blocks are 18 and 81) __ __ __ __ __ __ __ __ 8|__|__|__|__|__|__|__|__| 7|__|__|__|__|__|__|__|__| 6|__|__|__|__|__|__|__|__| 5|__|__|__|__|__|__|__|

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