TopCoder

Thumb output jddoia
$\huge 南ことり$
不要再虐我了$ε=ε=ε=ε=ε=ε=┌(; ̄◇ ̄)┘$

User's AC Ratio

98.1% (265/270)

Submission's AC Ratio

65.0% (292/449)

Tags

Description

給你一個數字,請你參考範例輸入輸出的形式畫出星星。

Input Format

兩個正整數A,B(1<=A,B<=100, |A-B|<=20)

Output Format

請參考範例輸出。

Sample Input

Sample Input #1:
4 7

Sample Input #2:
10 1

Sample Output

Sample Output #1:
****
*****
******
*******

Sample Output #2:
**********
*********
********
*******
******
*****
****
***
**
*

Hints

※試著從範例輸入輸出當中尋找規律吧:)

Problem Source

原TIOJ1055 / C/C++程式設計入門。Problem Setter: Tmt

Subtasks

No. Testdata Range Score
1 0 25
2 1 25
3 2 25
4 3 25

Testdata and Limits

No. Time Limit (ms) Memory Limit (KiB) Output Limit (KiB) Subtasks
0 1000 65536 262144 1
1 1000 65536 262144 2
2 1000 65536 262144 3
3 1000 65536 262144 4