QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#332140#7637. Exactly Three Neighborsucup-team1617WA 0ms3940kbC++202.1kb2024-02-19 10:21:322024-02-19 10:21:33

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2 3

output:

6 1
#
#
.
#
#
.

result:

ok good solution

Test #2:

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

input:

1 1

output:

-1 -1

result:

ok no solution

Test #3:

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

input:

3 4

output:

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

result:

ok good solution

Test #4:

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

input:

3 5

output:

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

result:

ok good solution

Test #5:

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

input:

4 5

output:

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

result:

ok good solution

Test #6:

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

input:

7 10

output:

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

result:

ok good solution

Test #7:

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

input:

5 7

output:

6 7
#####.#
#..##.#
#..##.#
#####.#
.##.###
.##.###

result:

ok good solution

Test #8:

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

input:

7 9

output:

18 6
#####.
#.####
###..#
.#####
##.###
####..
#.####
###.##
.####.
##.###
####.#
..####
###.##
#####.
#..###
####.#
.#####
##..##
-1 -1

result:

wrong output format Extra information in the output file