Quest for the gold

0

0 votes
Medium
Problem

Indiana Jones is on a quest to find the most valuable gold of all time. He found the pyramid of Giza in the middle of the desert. He cracked all the clues and found out the final clue to find the gold. He found a pyramid symbol in a secret door. The clue can be revealed only if the pyramid symbol is inverted. Given an input 'n' find the inverted pyramid.

 

Input  : 5

Output :

1 4 6 4 1
1 3 3 1
1 2 1
1 1
1
Sample Input
4
Sample Output
1 3 3 1
1 2 1
1 1
1
Time Limit: 5
Memory Limit: 256
Source Limit:
Editor Image

?