АВТ
Language:

Remote Training on Programming

Problems On-line status Contests FAQ
For authors:
Register  ||  Login
 
Hello, Guest! Login or register.

164. Draw Square

Time Limit: 1 seconds
Memory Limit:64000KB
Points:2
View Problem Statistics Submit Problem added Administrator

Нарисуй квадрат.

Дано натуральное число N (от 1 до 20). Выведите на экран пустой квадрат со стороной N (используйте * и пробелы).

Входные данные

   N - сторона квадрата.

Выходные данные

  Пустой квадрат со стороной N (используйте * и пробелы).

Пример входных данных

10
  

Пример выходных данных

**********
*        *
*        *
*        *
*        *
*        *
*        *
*        *
*        *
**********
  
Автор: Вабищевич А. Ю.

View Problem Statistics Submit Author/source:
Educational Courses / Programming and Basics of Algorithmization / Cycles /
953. Count of max 164. 136. Factorial of Number 130. Happy Ticket 169. Lucky Tickets
We can all benefit by doing occasional "toy" programs, when artificial restrictions are set up, so that we are forced to push our abilities to the limit. The art of tackling miniproblems with all our energy will sharpen our talents for the real problems. Donald E. Knuth.
time generating 0.046 sec.
© Copyright VSTU, AVT, Nosov D.A.