Board
CodeChefOpen on judge ↗
You have been given a 4x4 board which consists of integers from 1 to 50. A two player game is played on this board with the following rules : - The first player can pick any number from the board, this is added to his personal total. - Now the next person can only pick a number that was adjacent to the number picked by the earlier player. (Two cells are adjacent if they share a side). If all the
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