QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#234559#7637. Exactly Three Neighborsnew_dawn_2WA 24ms3748kbC++172.8kb2023-11-01 19:16:242023-11-01 19:16:25

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2 3

output:

6 1
#
#
.
#
#
.

result:

ok good solution

Test #2:

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

input:

1 1

output:

-1 -1

result:

ok no solution

Test #3:

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

input:

3 4

output:

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

result:

ok good solution

Test #4:

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

input:

3 5

output:

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

result:

ok good solution

Test #5:

score: 0
Accepted
time: 24ms
memory: 3604kb

input:

4 5

output:

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

result:

ok good solution

Test #6:

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

input:

7 10

output:

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

result:

ok good solution

Test #7:

score: -100
Wrong Answer
time: 4ms
memory: 3668kb

input:

5 7

output:

3 7
#.##.##
#.##.##
#.##.##

result:

wrong answer invalid plan.