TopCoder

Cheng0928
NLOJ 管理員,題目若有誤請至 Discord 私訊我!

User's AC Ratio

100.0% (2/2)

Submission's AC Ratio

100.0% (5/5)

Tags

Description

Input Format

Output Format

Sample Input 1

7 1

Sample Output 1

###*###
##***##
#*****#
*******
#*****#
##***##
###*###

Sample Input 2

9 2

Sample Output 2

RRRRRRRRR
R###*###R
R##***##R
R#*****#R
R*******R
R#*****#R
R##***##R
R###*###R
RRRRRRRRR

Hints

Problem Source

Subtasks

No. Testdata Range Constraints Score
1 0~1 範例測試資料 0
2 0, 2~6 輸入滿足 $ty = 1$。 40
3 1, 7~11 輸入滿足 $ty = 2$。 50
4 0~11 無額外限制。 10

Testdata and Limits

No. Time Limit (ms) Memory Limit (VSS, KiB) Output Limit (KiB) Subtasks
0 1000 65536 65536 1 2 4
1 1000 65536 65536 1 3 4
2 1000 65536 65536 2 4
3 1000 65536 65536 2 4
4 1000 65536 65536 2 4
5 1000 65536 65536 2 4
6 1000 65536 65536 2 4
7 1000 65536 65536 3 4
8 1000 65536 65536 3 4
9 1000 65536 65536 3 4
10 1000 65536 65536 3 4
11 1000 65536 65536 3 4