CEN 109 - Lab 11 2023 |
Start: Jan.11.2023 at 12:00:15 AM
Finish: Jan.15.2023 at 09:07:15 PM
The contest is finished!
• Contest scoreboard
|
Feedback | If you notice incorrect translations in Contester, please let author know.
|
|
Time limit 2000/4000/4000/4000 ms. Memory limit 65000/65000/65000/65000 Kb. Question by Ibrahim Mesecan.
Drawing Square From Stars
Question: Write a program that gets a number n
then, draws a rectangle from stars with the size nxn.
Input specification
You will be given a number (n) one side of the square where 0 ≤ n ≤ 35.
Output specification
Show a square from the * char (and every stars is followed by a space char).
Sample Input I
4
|
Sample Input II
6
|
Sample Output I
* * * *
* * * *
* * * *
* * * *
|
Sample Output II
* * * * * *
* * * * * *
* * * * * *
* * * * * *
* * * * * *
* * * * * *
|
Для отправки решений необходимо выполнить вход.
|