QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#234538#7637. Exactly Three Neighborsnew_dawn_2TL 1010ms3504kbC++172.3kb2023-11-01 18:57:572023-11-01 18:57:58

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2 3

output:

6 1
#
#
.
#
#
.

result:

ok good solution

Test #2:

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

input:

1 1

output:

-1 -1

result:

ok no solution

Test #3:

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

input:

3 4

output:

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

result:

ok good solution

Test #4:

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

input:

3 5

output:

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

result:

ok good solution

Test #5:

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

input:

4 5

output:

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

result:

ok good solution

Test #6:

score: -100
Time Limit Exceeded

input:

7 10

output:

-1 -1

result: