Sometimes, even more bored coders like to do really really boring things like outputting diamonds of asterisks. Beautiful, but lame. Hubert is one such lame lame coder.


A number 0 < n ≤ 30 representing the maximum radius of the diamond.


A diamond of asterisks with radius n. Note that the diamond is put into place via spaces in front. There are no spaces after each line.

Sample Input 1


Sample Output 1


Submitting .cpp to 'diamond'

You're not logged in! Click here to login

Compile Errors

Time Limit: 1 Seconds
Memory Limit: 256MB
No. of ACs: 224
Your best score: 0
Source: Classic Problem

Subtask Score
1 100
2 0