QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#134074#5416. Fabulous Fungus FrenzyriconduongcungWA 14ms5028kbC++144.8kb2023-08-02 22:53:502023-08-02 22:53:51

详细

Test #1:

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

input:

3 3 1
OOO
GOG
BGB

OOO
GGG
BBB

3 1
B
G
B

output:

26
-4 3 1
-4 2 1
-4 2 3
-2 1 3
-3 1 2
-3 2 2
-2 3 2
-4 3 1
-3 1 2
-3 2 2
-2 3 2
1 1 1
-3 1 3
-3 2 3
-2 3 3
-4 3 2
-4 2 2
-2 1 2
-3 1 3
-3 2 3
-2 3 3
-4 3 2
-4 2 2
-4 2 3
-4 3 2
-4 3 3

result:

ok puzzle solved

Test #2:

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

input:

2 2 1
OO
OO

PP
PP

1 2
OP

output:

-1

result:

ok puzzle solved

Test #3:

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

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:

718
-3 1 4
-3 2 4
-3 3 4
-2 4 4
-4 4 3
-4 3 3
-2 2 3
-3 2 2
-3 3 2
-2 4 2
-4 4 1
-4 3 1
-3 1 5
-3 2 5
-3 3 5
-2 4 5
-4 4 4
-4 3 4
-2 2 4
-3 2 3
-3 3 3
-2 4 3
-4 4 2
-4 3 2
-3 1 6
-3 2 6
-3 3 6
-2 4 6
-4 4 5
-4 3 5
-4 2 5
-2 1 5
-3 1 4
-3 2 4
-3 3 4
-2 4 4
-4 4 3
-4 3 3
1 1 1
-3 1 7
-3 2 7
-3 3 7
-2 ...

result:

ok puzzle solved

Test #4:

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

input:

2 2 1
OO
OO

OP
PP

1 2
PP

output:

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

result:

ok puzzle solved

Test #5:

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

input:

2 2 1
OO
OO

OP
PO

2 1
P
P

output:

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

result:

ok puzzle solved

Test #6:

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

input:

2 2 1
OO
OO

OP
PO

2 2
PP
PP

output:

-1

result:

ok puzzle solved

Test #7:

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

input:

2 2 1
OO
OO

OP
PP

1 2
OP

output:

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

result:

ok puzzle solved

Test #8:

score: 0
Accepted
time: 14ms
memory: 5028kb

input:

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

output:

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

result:

ok puzzle solved

Test #9:

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

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: 2ms
memory: 3816kb

input:

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

output:

-1

result:

wrong answer solvable puzzle unsolved