UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#134405#2111. 迷宫19100491ms11324kbC++111.8kb2021-07-20 15:18:212021-07-20 15:18:21

answer


详细

小提示:点击横条可展开更详细的信息

Test #1:

score: 10
Accepted
time: 0ms
memory: 5292kb

input:

3
1
1
-
1
2
++
2
1
+
-

output:

1
2
2

result:

ok 3 lines

Test #2:

score: 10
Accepted
time: 0ms
memory: 5300kb

input:

3
5
5
+---|
|----
----|
|----
----|
5
5
----|
|----
----|
|----
-----
2
2
||
*+

output:

17
25
-1

result:

ok 3 lines

Test #3:

score: 10
Accepted
time: 0ms
memory: 5336kb

input:

3
1
2
+*
20
20
++++++++++++++++++++
++++++++++++++++++++
++++++++++++++++++++
++++++++++++++++++++
+...

output:

-1
39
41

result:

ok 3 lines

Test #4:

score: 10
Accepted
time: 0ms
memory: 5312kb

input:

3
5
5
----|
|----
-----
|----
-----
5
5
|-|-|
|||||
|||||
|||||
-|-|-
10
10
-|-|-|-|-|
||||||||||
||...

output:

-1
25
91

result:

ok 3 lines

Test #5:

score: 10
Accepted
time: 0ms
memory: 5336kb

input:

3
20
20
++*-+-*-*+|*-*|++***
*++**+--*|-*-|*|++*-
---+||-+**-|*-*--|+*
+***-*+--+|||*|---*|
-+|||*|*...

output:

-1
-1
39

result:

ok 3 lines

Test #6:

score: 10
Accepted
time: 108ms
memory: 11320kb

input:

10
1000
1000
|--+||+*-+**++*+**-+||-*+|*|-|-+|+++**-**|-|+*-+-+-++-+*-|-|**|-|**-|+*--+**-+-|+--||-+...

output:

-1
-1
-1
-1
-1
-1
-1
-1
-1
-1

result:

ok 10 lines

Test #7:

score: 10
Accepted
time: 90ms
memory: 11324kb

input:

10
1000
1000
-*-*|-+-*+-+*|--|*|*|-*+**+*|-*||+*-*++**++|*||-+**-+|-*+*+*|+-+**|*-**|||||-|*--*-*-*+...

output:

-1
-1
-1
-1
-1
-1
-1
-1
-1
-1

result:

ok 10 lines

Test #8:

score: 10
Accepted
time: 107ms
memory: 11324kb

input:

10
1000
1000
|++*|||-+||*+|-|-+*+*--|-|-+|||-||*|+---*-++++-*-||-+|-**--|*+-|+||+-|*+-++**-------|-*...

output:

-1
-1
-1
-1
-1
-1
-1
-1
-1
-1

result:

ok 10 lines

Test #9:

score: 10
Accepted
time: 86ms
memory: 11324kb

input:

10
1000
1000
+-*|*-|*+--|-|---*|+*|+*|-|++*+*-++-|-*|-++**|+-|-+-||-|**-||*+|*-**-+|--+|-**-*-|*+*||...

output:

-1
-1
-1
-1
-1
-1
-1
-1
-1
-1

result:

ok 10 lines

Test #10:

score: 10
Accepted
time: 100ms
memory: 11320kb

input:

10
1000
1000
+|+-+|--|-||-+|+|-+*-++||+|+++||---+|*---+|*||+--+++*++||-*--+*|||||||++|+*+|-|*-**||++...

output:

-1
-1
-1
-1
-1
-1
-1
-1
-1
-1

result:

ok 10 lines