QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#317412#5416. Fabulous Fungus FrenzyfuckerWA 3ms3868kbC++203.2kb2024-01-28 23:38:552024-01-28 23:38:55

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3 3 1
OOO
GOG
BGB

OOO
GGG
BBB

3 1
B
G
B

output:

22
-4 3 2
-4 2 2
-1 1 2
-4 2 2
-4 3 2
-2 1 3
-2 1 2
1 1 1
-1 3 1
-1 3 2
-1 3 1
1 1 1
-1 2 1
-1 2 2
-1 2 1
1 1 1
-1 2 1
1 1 1
-2 3 2
-4 3 1
-4 2 1
-4 3 1

result:

ok puzzle solved

Test #2:

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

input:

2 2 1
OO
OO

PP
PP

1 2
OP

output:

-1

result:

ok puzzle solved

Test #3:

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

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:

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

result:

ok puzzle solved

Test #4:

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

input:

2 2 1
OO
OO

OP
PP

1 2
PP

output:

8
-4 2 1
1 1 1
-3 1 2
1 1 1
-4 2 1
-1 1 1
-4 2 1
-2 1 2

result:

ok puzzle solved

Test #5:

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

input:

2 2 1
OO
OO

OP
PO

2 1
P
P

output:

4
-4 2 2
-2 1 2
1 1 1
-2 1 2

result:

ok puzzle solved

Test #6:

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

input:

2 2 1
OO
OO

OP
PO

2 2
PP
PP

output:

-1

result:

ok puzzle solved

Test #7:

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

input:

2 2 1
OO
OO

OP
PP

1 2
OP

output:

7
1 1 1
-3 1 2
1 1 1
-3 1 2
-2 2 2
-3 1 2
1 1 1

result:

ok puzzle solved

Test #8:

score: 0
Accepted
time: 3ms
memory: 3776kb

input:

20 20 20
bofelagiqboebdqplbhq
qsrksfthhptcmikjohkt
qrnhpoatbekggnkdonet
aoalekbmpbisgflbhmol
djnhnlitcakltqgegqrt
fdctfarsmbnbeosdgilo
ttrsljgiratfmioajorh
gorljkihdnmnofnblfhm
bqjkaehetdjlgctmijpc
geslcskpoqjcgtbdspoa
riqthroqmmhqgprqhsba
fdiarrcomockfqdjjdkd
jsbnigfqgsfekbbnnkir
ildqctqtqrpcetaocp...

output:

15220
20 1 1
-3 1 1
-3 2 1
-3 3 1
-3 4 1
-3 5 1
-3 6 1
-3 7 1
-3 8 1
-3 9 1
-3 10 1
-3 11 1
-3 12 1
-3 13 1
-3 14 1
-3 15 1
-3 16 1
-3 17 1
-3 18 1
-1 19 1
-1 19 2
-1 19 1
-3 18 1
-3 17 1
-3 16 1
-3 15 1
-3 14 1
-3 13 1
-3 12 1
-3 11 1
-3 10 1
-3 9 1
-3 8 1
-3 7 1
-3 6 1
-3 5 1
-3 4 1
-3 3 1
-3 2 1
...

result:

ok puzzle solved

Test #9:

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

input:

20 20 2
HbevPluVL5ORtUFcV9gf
Mrq6zdTPMPnwlN7Fpzx6
Nfp71dVuxTZp9Qet0Ca9
ugbaF34DquDdbUnk5x7V
fDFszn4PmvMpJ5BDWueJ
2YvFxKJgst8XbftPfy9T
F7Q4huk87Lrp1M7i08is
Q41E5AqLkkP3Q5qONXC2
MuM7iIzev3ZpxItvriQK
6OBdEC0sso5vdNQlrCSR
BJQtKjN6RmppsMGIYL81
yyKsWJSoKorGGblNle0r
RkKEQACh8f0bS5nPTtJH
fQgoc39vdsPAUmxlYYL...

output:

-1

result:

ok puzzle solved

Test #10:

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

input:

20 20 2
pqo3Mcpvo74RFSsJszsa
znrYm92Qr8fbqhbCTOgq
4KiMYr0kLAxPGNG15x7L
QHKmq6xaJ4PU4msuRAiv
UBfS6VUO87hRnMAjGXKX
zCgknw3FfhdifmVcT6FF
GH6ohIAzZuprlC3vMDVh
mHIJ9KlQvWxt6EgGbJkA
3SwJNhRSdEeF9BNtc9k2
mZmEuriH7Rc4ccMjqI0Y
cFfI8TC1iM4PkKziLOiN
15CUjuwudnrums3c3dsl
ekL52LiFEpzmU4vaGtuX
CfrnQtWb5zAN9oQS2fj...

output:


result:

wrong output format Unexpected end of file - int32 expected