a095: 逆.直角三角形
Tags :
Accepted rate : 308人/362人 ( 85% ) [非即時]
評分方式:
Strictly

最近更新 : 2022-02-15 13:07

Content

print a right triangle with given size

Input

a integer 'size' represent the size

2<=size<=30

Output

a right triangle composed by *

Sample Input #1
2
Sample Output #1
 *
**
Sample Input #2
3
Sample Output #2
  *
 **
***
Sample Input #3
5
Sample Output #3
    *
   **
  ***
 ****
*****
測資資訊:
記憶體限制: 64 MB
不公開 測資點#0 (33%): 1.0s , <1K
不公開 測資點#1 (33%): 1.0s , <1K
不公開 測資點#2 (34%): 1.0s , <1K
Hint :
Tags:
出處:
[管理者:
kichan@g.pui... (陳嘉賢CHAN KA IN)
]


ID User Problem Subject Hit Post Date
沒有發現任何「解題報告」