Space battleship X72547


Statement
 

pdf   zip

html
Public test cases
  • Input

    5
    1 0 0 0 0
    0 0 0 1 0
    0 0 1 0 0
    0 1 0 0 1
    1 0 0 0 0
    5
    1 1
    4 4
    1 1
    4 1
    0 4
    

    Output

    3
    
  • Information
    Author
    HP Codewars BCN
    Language
    English
    Official solutions
    C++ Python
    User solutions
    C++ Python