|
Time |
Memory |
| Case 1 |
1 sec |
32 MB |
| Case 2 |
1 sec |
32 MB |
| Case 3 |
1 sec |
32 MB |
Description
Write a program that asks the user to input a positive number n. The program should output a pyramid number.
Input
N, such that N belongs to set of positive integers.
For example:
5
Output
1
22
333
4444
55555
Tags