Spirals 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
    English
    Translator
    Carlos Molina
    Original language
    Catalan
    Other languages
    Catalan
    Official solutions
    C++
    User solutions
    C++ Python