The Game Of Chess
CodeChefOpen on judge ↗
Infotsav has always been about geeks and geek-stuff, with the best of brains battling it out for victory. Since we are talking about the battle of wits, what better than a game of chess! You are given a 50x50 chessboard, where the bottom left corner is indexed (0, 0). There is a knight and a queen on the chessboard and you and your friend is playing your own version of chess. Both of you play your
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