← All problemsSign in

The Wish of the Grandmaster

Points:15 Everyone knows Vishwanathan Anand, the king of chess in the world. He put our country's name in the halls of fame on the basis of just his intelligence and skill in playing chess. One day Mr Anand felt a strange curiosity. He wanted to know the number of chess pieces that a player could place on a chess board of a given size in such a manner that no piece was in a position to take out a

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