Battleships & variants
@ 2011-07-03 8:04 AM (#4987) (#4987) Top

debmohanty




1000500100100100202020
Country : India

debmohanty posted @ 2011-07-03 8:04 AM

Battleships & variants

Method 1 - Enter the co-ordinates of submarines.

Method 2 - Describe the marked rows / columns / diagonals using 1 for battleship, and 0 for water

@ 2011-07-05 6:36 PM (#5027 - in reply to #4987) (#5027) Top

vopani



Posts: 739
50010010020
Country : India

vopani posted @ 2011-07-05 6:36 PM

Method 1 would be very nice if the submarines are found out at the end (which usually is the case).