QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#370197#2563. Curly Racetrackucup-team864#ML 1ms3784kbC++232.6kb2024-03-28 22:59:022024-03-28 22:59:04

詳細信息

Test #1:

score: 100
Accepted
time: 1ms
memory: 3784kb

input:

4 5
4...x
.2..2
.o1x.
3..3o

output:

12

result:

ok 1 number(s): "12"

Test #2:

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

input:

2 3
4o2
3x1

output:

-1

result:

ok 1 number(s): "-1"

Test #3:

score: -100
Memory Limit Exceeded

input:

100 47
.....4.42..4.2....4242........o242424....o4....
3...3........31...1......2..3...o1313.......13.
.o..........2...14...........2..4........2..2..
..................2....232.......4..13..x.41...
42...1.4....3..3...1.2.32...1...4...424..2...4.
.1.3.2...242...4...4..............23...........
..x.....

output:


result: