QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#258165#7637. Exactly Three NeighborsMaMengQiWA 1ms3804kbC++171.1kb2023-11-19 15:46:272023-11-19 15:46:28

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2 3

output:

6 4
.##.
####
#..#
####
.##.
.##.

result:

ok good solution

Test #2:

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

input:

1 1

output:

-1 -1

result:

ok no solution

Test #3:

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

input:

3 4

output:

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

result:

ok good solution

Test #4:

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

input:

3 5

output:

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

result:

ok good solution

Test #5:

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

input:

4 5

output:

-1 -1

result:

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