Revenge Rahul
CodeChefOpen on judge ↗
Remember Rahul? He is now furious because contest setters used his name in the previous contest. So he decided to trouble them a bit. He asks them to solve a puzzle if they want to use his name in the future contests. The puzzle goes as follows : Given a $k*k$ chess board . We have to place two knights and a rook(elephant) on the board such that no two pieces are under attack. Rook can be pl
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