Call Of Duty
CodeChefOpen on judge ↗
Problem Statement 8 snipers are present on a sniper field each out to get the other. The field can be thought of as an 8x8 grid. Hence each sniper must hide in a strategic position so as to not be seen by any other. The vision of a sniper is restricted, the sniper can see only horizontally, diagonally, and vertically. Input The first line of the input contains two numbers separated by a blank
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