QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#64530#2553. BingoZhaoZiLongWA 9ms17648kbC++174.0kb2022-11-24 23:15:172022-11-24 23:15:19

詳細信息

Test #1:

score: 100
Accepted
time: 8ms
memory: 17460kb

input:

4 2

output:

YES
#.#.
....
....
....

result:

ok n=4, k=2

Test #2:

score: 0
Accepted
time: 1ms
memory: 17460kb

input:

4 16

output:

NO

result:

ok n=4, k=16

Test #3:

score: 0
Accepted
time: 4ms
memory: 17552kb

input:

2 0

output:

YES
..
..

result:

ok n=2, k=0

Test #4:

score: 0
Accepted
time: 5ms
memory: 17536kb

input:

3 0

output:

YES
...
...
...

result:

ok n=3, k=0

Test #5:

score: 0
Accepted
time: 5ms
memory: 17496kb

input:

3 2

output:

YES
#.#
...
...

result:

ok n=3, k=2

Test #6:

score: 0
Accepted
time: 1ms
memory: 17640kb

input:

5 4

output:

YES
#.###
.....
.....
.....
.....

result:

ok n=5, k=4

Test #7:

score: 0
Accepted
time: 5ms
memory: 17496kb

input:

25 20

output:

YES
#.###################....
.........................
.........................
.........................
.........................
.........................
.........................
.........................
.........................
.........................
.........................
.............

result:

ok n=25, k=20

Test #8:

score: 0
Accepted
time: 9ms
memory: 17432kb

input:

31 29

output:

YES
#.############################.
...............................
...............................
...............................
...............................
...............................
...............................
...............................
...............................
...........

result:

ok n=31, k=29

Test #9:

score: 0
Accepted
time: 2ms
memory: 17556kb

input:

44 10

output:

YES
#.#########.................................
............................................
............................................
............................................
............................................
............................................
.............................

result:

ok n=44, k=10

Test #10:

score: 0
Accepted
time: 2ms
memory: 17440kb

input:

44 22

output:

YES
#.#####################.....................
............................................
............................................
............................................
............................................
............................................
.............................

result:

ok n=44, k=22

Test #11:

score: 0
Accepted
time: 9ms
memory: 17468kb

input:

100 0

output:

YES
....................................................................................................
....................................................................................................
.................................................................................................

result:

ok n=100, k=0

Test #12:

score: 0
Accepted
time: 5ms
memory: 17508kb

input:

100 1

output:

YES
#...................................................................................................
....................................................................................................
.................................................................................................

result:

ok n=100, k=1

Test #13:

score: 0
Accepted
time: 6ms
memory: 17556kb

input:

100 2

output:

YES
#.#.................................................................................................
....................................................................................................
.................................................................................................

result:

ok n=100, k=2

Test #14:

score: 0
Accepted
time: 3ms
memory: 17640kb

input:

100 50

output:

YES
#.#################################################.................................................
....................................................................................................
.................................................................................................

result:

ok n=100, k=50

Test #15:

score: 0
Accepted
time: 2ms
memory: 17648kb

input:

100 98

output:

YES
#.#################################################################################################.
....................................................................................................
.................................................................................................

result:

ok n=100, k=98

Test #16:

score: 0
Accepted
time: 2ms
memory: 17476kb

input:

100 99

output:

YES
#.##################################################################################################
....................................................................................................
.................................................................................................

result:

ok n=100, k=99

Test #17:

score: 0
Accepted
time: 6ms
memory: 17464kb

input:

99 97

output:

YES
#.################################################################################################.
...................................................................................................
...................................................................................................

result:

ok n=99, k=97

Test #18:

score: 0
Accepted
time: 2ms
memory: 17508kb

input:

99 98

output:

YES
#.#################################################################################################
...................................................................................................
...................................................................................................

result:

ok n=99, k=98

Test #19:

score: -100
Wrong Answer
time: 8ms
memory: 17388kb

input:

1 0

output:

NO

result:

wrong answer YES/NO differs