QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#234555#7637. Exactly Three Neighborsnew_dawn_2WA 21ms3756kbC++172.8kb2023-11-01 19:15:112023-11-01 19:15:12

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3752kb

input:

2 3

output:

6 1
#
#
.
#
#
.

result:

ok good solution

Test #2:

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

input:

1 1

output:

-1 -1

result:

ok no solution

Test #3:

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

input:

3 4

output:

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

result:

ok good solution

Test #4:

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

input:

3 5

output:

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

result:

ok good solution

Test #5:

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

input:

4 5

output:

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

result:

ok good solution

Test #6:

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

input:

7 10

output:

4 5
#.###
#.###
###..
###..

result:

ok good solution

Test #7:

score: -100
Wrong Answer
time: 21ms
memory: 3604kb

input:

5 7

output:

-1 -1

result:

wrong answer you didn't find a solution but jury did