QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#267741#7637. Exactly Three Neighborsucup-team138#WA 1ms3804kbC++141.8kb2023-11-27 17:49:572023-11-27 17:49:58

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3552kb

input:

2 3

output:

1 3
##.

result:

ok good solution

Test #2:

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

input:

1 1

output:

-1 -1

result:

ok no solution

Test #3:

score: 0
Accepted
time: 0ms
memory: 3464kb

input:

3 4

output:

4 4
.###
.###
##.#
##.#

result:

ok good solution

Test #4:

score: 0
Accepted
time: 0ms
memory: 3556kb

input:

3 5

output:

1 10
##.##.##..

result:

ok good solution

Test #5:

score: 0
Accepted
time: 0ms
memory: 3620kb

input:

4 5

output:

5 5
.####
##.##
####.
#.###
###.#

result:

ok good solution

Test #6:

score: 0
Accepted
time: 0ms
memory: 3432kb

input:

7 10

output:

4 10
#.###.####
#.###.####
###.###...
###.###...

result:

ok good solution

Test #7:

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

input:

5 7

output:

4 14
##.###.###.###
##.###.###.###
.###.###.###..
.###.###.###..

result:

ok good solution

Test #8:

score: 0
Accepted
time: 0ms
memory: 3488kb

input:

7 9

output:

6 18
.####.####.##.####
##.####.##.####.##
####.##.####.####.
#.##.####.####.###
#.####.####.####.#
###.####.####.##.#

result:

ok good solution

Test #9:

score: 0
Accepted
time: 0ms
memory: 3724kb

input:

0 1

output:

1 1
.

result:

ok good solution

Test #10:

score: 0
Accepted
time: 0ms
memory: 3800kb

input:

1 2

output:

1 4
##..

result:

ok good solution

Test #11:

score: 0
Accepted
time: 0ms
memory: 3500kb

input:

1 3

output:

1 6
##....

result:

ok good solution

Test #12:

score: 0
Accepted
time: 0ms
memory: 3616kb

input:

1 4

output:

1 8
##......

result:

ok good solution

Test #13:

score: 0
Accepted
time: 0ms
memory: 3592kb

input:

1 5

output:

1 10
##........

result:

ok good solution

Test #14:

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

input:

1 6

output:

1 12
##..........

result:

ok good solution

Test #15:

score: 0
Accepted
time: 0ms
memory: 3528kb

input:

1 7

output:

1 14
##............

result:

ok good solution

Test #16:

score: 0
Accepted
time: 0ms
memory: 3784kb

input:

1 8

output:

1 16
##..............

result:

ok good solution

Test #17:

score: 0
Accepted
time: 0ms
memory: 3612kb

input:

1 9

output:

1 18
##................

result:

ok good solution

Test #18:

score: 0
Accepted
time: 0ms
memory: 3560kb

input:

1 10

output:

1 20
##..................

result:

ok good solution

Test #19:

score: 0
Accepted
time: 0ms
memory: 3636kb

input:

2 5

output:

1 5
##...

result:

ok good solution

Test #20:

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

input:

2 7

output:

1 7
##.....

result:

ok good solution

Test #21:

score: 0
Accepted
time: 0ms
memory: 3500kb

input:

2 9

output:

1 9
##.......

result:

ok good solution

Test #22:

score: 0
Accepted
time: 0ms
memory: 3500kb

input:

3 7

output:

1 14
##.##.##......

result:

ok good solution

Test #23:

score: 0
Accepted
time: 0ms
memory: 3500kb

input:

3 8

output:

1 16
##.##.##........

result:

ok good solution

Test #24:

score: 0
Accepted
time: 0ms
memory: 3748kb

input:

3 10

output:

1 20
##.##.##............

result:

ok good solution

Test #25:

score: -100
Wrong Answer
time: 0ms
memory: 3572kb

input:

4 7

output:

1 7
##..##...

result:

wrong answer the width of each length must be 7, but read 9