Game of life X75273


Statement
 

pdf   zip

html
Public test cases
  • Input

    2
    5
    . . . . .
    . . # # .
    . . # # .
    . . . . .
    . . . . .
    

    Output

    . . . . .
    . . # # .
    . . # # .
    . . . . .
    . . . . .
    
  • Input

    2
    5
    # . # # .
    # . . # .
    . . # # .
    . . . . .
    . . . . .
    
    

    Output

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