QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#731965#9472. Liaoning Ship’s VoyageZhangYiDe WA 0ms21080kbC++203.6kb2024-11-10 12:31:382024-11-10 12:31:40

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
0.5 1.5 1.5 1.5 1 0.5
.#.
...
..#
3
0.5 1.5 1.5 1.5 1 0.5
.#.
..#
..#

output:

3
-1

result:

ok 2 lines

Test #2:

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

input:

3
0.5 0.5 1 -0.5 1.5 0.5
##.
##.
...
3
1 0.5 0.5 1 1.5 1
.#.
#.#
...
3
0.5 1.5 1.5 1.5 1 0.5
.#.
...
..#
3
0.5 1.5 1.5 1.5 1 0.5
.#.
..#
..#
10
4 6 5 6 5 4
..........
..........
..........
..........
..........
..........
..........
..........
..........
..........
10
4.5 4.2 4.2 6.2 4.8 6.2
..........

output:

3
-1
3
-1
10
10
10
11
-1
11
-1
18
-1
-1
-1

result:

wrong answer 1st lines differ - expected: '-1', found: '3'