Square P23996


Statement
 

pdf   zip

html

Write a program such that, given a number n, prints a “square of size n”.

Input

Input consists of a natural number n ≥ 1.

Output

Follow the examples.

Public test cases
  • Input

    4
    

    Output

    ####
    ####
    ####
    ####
    
  • Input

    7
    

    Output

    #######
    #######
    #######
    #######
    #######
    #######
    #######
    
  • Information
    Author
    Jordi Petit
    Language
    English
    Translator
    Jordi Petit
    Original language
    Catalan
    Other languages
    Catalan
    Official solutions
    C++ Java Python
    User solutions
    C++ Python