TopCoder

Caido
$\mathbb{W}\mathcal{aimai}\sim$

User's AC Ratio

97.7% (384/393)

Submission's AC Ratio

65.4% (430/657)

Tags

Description

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

Input Format

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

Output Format

請參考範例輸出。

Sample Input 1

4 7

Sample Output 1

****
*****
******
*******

Sample Input 2

10 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 (VSS, 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