Espirals P59112


Statement
 

pdf   zip

Public test cases
  • Input

    4
    6
    7
    0
    

    Output

    .XXX
    .X.X
    ...X
    XXXX
    
    .XXXXX
    .X...X
    .X.X.X
    .XXX.X
    .....X
    XXXXXX
    
    .XXXXXX
    .X....X
    .X.XX.X
    .X..X.X
    .XXXX.X
    ......X
    XXXXXXX
    
    
  • Information
    Author
    Salvador Roura
    Language
    Catalan
    Other languages
    English
    Official solutions
    C++
    User solutions
    C++ Python