Diagonals creixents X44446


Statement
 

pdf   zip

Public test cases
  • Input

    5 6
    0 7 0 0 0 3
    0 0 4 0 2 0
    0 0 0 1 0 0
    0 0 8 0 3 0
    0 9 0 0 0 8
    2 3
    
    5 6
    0 7 0 0 0 3
    0 0 4 0 2 0
    0 0 0 1 0 0
    0 0 8 0 1 0
    0 9 0 0 0 8
    2 3
    
    2 2
    -1 2
    -4 5
    0 0
    
    2 2
    -1 2
    -4 5
    0 1
    
    1 1
    -1000000
    0 0
    

    Output

    si
    no
    si
    no
    si
    
  • Information
    Author
    Amalia Duch
    Language
    Catalan
    Official solutions
    Unknown. This problem is being checked.
    User solutions