TopCoder

abcabcabc
快去寫 TIOJ 2311 > <

User's AC Ratio

97.9% (417/426)

Submission's AC Ratio

63.2% (472/747)

Tags

Description

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

Input Format

兩個正整數 $A,B (1 \le A, B \le 100, |A-B| \le 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