QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#115959#2553. BingoZhangYiDeRE 27ms9708kbPython31.4kb2023-06-27 20:33:572023-06-27 20:34:00

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 10ms
memory: 8544kb

input:

4 2

output:

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

result:

ok n=4, k=2

Test #2:

score: 0
Accepted
time: 7ms
memory: 8432kb

input:

4 16

output:

NO

result:

ok n=4, k=16

Test #3:

score: 0
Accepted
time: 14ms
memory: 8628kb

input:

2 0

output:

YES
..
..

result:

ok n=2, k=0

Test #4:

score: 0
Accepted
time: 14ms
memory: 8628kb

input:

3 0

output:

YES
...
...
...

result:

ok n=3, k=0

Test #5:

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

input:

3 2

output:

YES
...
.##
...

result:

ok n=3, k=2

Test #6:

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

input:

5 4

output:

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

result:

ok n=5, k=4

Test #7:

score: 0
Accepted
time: 12ms
memory: 8632kb

input:

25 20

output:

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

result:

ok n=25, k=20

Test #8:

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

input:

31 29

output:

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

result:

ok n=31, k=29

Test #9:

score: 0
Accepted
time: 8ms
memory: 8688kb

input:

44 10

output:

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

result:

ok n=44, k=10

Test #10:

score: 0
Accepted
time: 13ms
memory: 8772kb

input:

44 22

output:

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

result:

ok n=44, k=22

Test #11:

score: 0
Accepted
time: 19ms
memory: 9500kb

input:

100 0

output:

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

result:

ok n=100, k=0

Test #12:

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

input:

100 1

output:

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

result:

ok n=100, k=1

Test #13:

score: 0
Accepted
time: 25ms
memory: 9508kb

input:

100 2

output:

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

result:

ok n=100, k=2

Test #14:

score: 0
Accepted
time: 12ms
memory: 9572kb

input:

100 50

output:

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

result:

ok n=100, k=50

Test #15:

score: 0
Accepted
time: 27ms
memory: 9708kb

input:

100 98

output:

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

result:

ok n=100, k=98

Test #16:

score: 0
Accepted
time: 27ms
memory: 9596kb

input:

100 99

output:

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

result:

ok n=100, k=99

Test #17:

score: 0
Accepted
time: 10ms
memory: 9492kb

input:

99 97

output:

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

result:

ok n=99, k=97

Test #18:

score: 0
Accepted
time: 13ms
memory: 9588kb

input:

99 98

output:

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

result:

ok n=99, k=98

Test #19:

score: 0
Accepted
time: 11ms
memory: 8652kb

input:

1 0

output:

YES
.

result:

ok n=1, k=0

Test #20:

score: -100
Runtime Error

input:

1 1

output:

YES

result: