TopCoder

Thumb output jddoia
$\huge 南ことり$
今天也要輸贏!?

User's AC Ratio

97.4% (185/190)

Submission's AC Ratio

68.4% (206/301)

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

For Testdata: 0 ~ 0, Score: 25
For Testdata: 1 ~ 1, Score: 25
For Testdata: 2 ~ 2, Score: 25
For Testdata: 3 ~ 3, Score: 25
No. Time Limit (ms) Memory Limit (KiB)
0 1000 65536
1 1000 65536
2 1000 65536
3 1000 65536