QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#470423#5416. Fabulous Fungus FrenzyGuanYunchangWA 0ms3632kbC++173.4kb2024-07-10 13:19:082024-07-10 13:19:08

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3 3 1
OOO
GOG
BGB

OOO
GGG
BBB

3 1
B
G
B

output:

20
-4 2 3
-2 1 3
-2 1 2
1 1 1
-4 3 1
-2 3 2
-2 3 3
1 1 1
-2 2 2
-2 2 3
1 1 1
-4 2 1
-4 3 1
-2 3 2
-2 3 3
1 1 1
-2 3 2
-2 2 2
-4 2 1
-4 3 1

result:

ok puzzle solved

Test #2:

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

input:

2 2 1
OO
OO

PP
PP

1 2
OP

output:

-1

result:

ok puzzle solved

Test #3:

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

input:

4 8 4
11122222
33344444
55556666
77777777

NIxSHUOx
DExDUIxx
DANxSHIx
YUANSHEN

2 3
NIy
DEx

3 8
zzzzzzzz
DANNSH9I
YUA9SHEN

1 1
x

2 5
SHO8y
DUUI8

output:

246
4 1 1
-2 2 6
-3 1 6
-2 2 5
-2 2 6
-3 1 6
-2 2 4
-2 2 5
-2 2 6
-3 1 6
-2 2 3
-2 2 4
-2 2 5
-2 2 6
-3 1 6
-2 2 2
-2 2 3
-2 2 4
-2 2 5
-2 2 6
-3 1 6
-4 2 3
-4 3 3
-4 4 3
-2 4 4
-2 4 5
-2 4 6
-2 4 7
-2 4 8
2 1 1
2 1 1
-4 4 2
-2 4 3
-2 4 4
2 1 1
-4 3 6
-4 4 6
2 1 1
-4 3 5
-4 4 5
2 1 1
-4 4 8
-1 4 7
-...

result:

wrong answer puzzle remain unsolved