1055 粘墙三角形


Submit solution

Points: 100
Time limit: 1.0s
Memory limit: 32M

Problem types
Allowed languages
C, C++, Java, Python

Description

输入一些正整数(≤26),编程输出以这些正整数为边长的附墙而立的字母三角形。

Sample

Input

3
7

Output

a  a
a ab
aabc

a      a
a     ab
a    abc
a   abcd
a  abcde
a abcdef
aabcdefg

Comments

There are no comments at the moment.