QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#83077#3181. Burglaryxiaowuc1AC ✓944ms101044kbC++174.1kb2023-03-01 05:42:412023-03-01 05:42:44

详细

Test #1:

score: 100
Accepted
time: 2ms
memory: 3224kb

input:

5 20
--------------------
.|.....|...|......|.
1-1--1115-3-1-1--1-1
....|.........|.....
---1-11-1-11---1--3-
.......|.........|..
-7----9-4-----------
..|.................
--------9-----------
.|.................|

output:

38

result:

ok single line: '38'

Test #2:

score: 0
Accepted
time: 2ms
memory: 3236kb

input:

2 11
-----------
...|...|...
2-2-2-2-2-2
|.........|

output:

12

result:

ok single line: '12'

Test #3:

score: 0
Accepted
time: 698ms
memory: 42088kb

input:

1000 1000
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------...

output:

48794

result:

ok single line: '48794'

Test #4:

score: 0
Accepted
time: 28ms
memory: 42688kb

input:

1000 1000
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------...

output:

58959

result:

ok single line: '58959'

Test #5:

score: 0
Accepted
time: 377ms
memory: 100892kb

input:

1000 5000
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------...

output:

22478205

result:

ok single line: '22478205'

Test #6:

score: 0
Accepted
time: 886ms
memory: 81356kb

input:

1000 5000
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------...

output:

0

result:

ok single line: '0'

Test #7:

score: 0
Accepted
time: 619ms
memory: 101044kb

input:

1000 5000
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------...

output:

224305

result:

ok single line: '224305'

Test #8:

score: 0
Accepted
time: 944ms
memory: 81356kb

input:

1000 5000
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------...

output:

0

result:

ok single line: '0'

Test #9:

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

input:

100 500
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------...

output:

976

result:

ok single line: '976'

Test #10:

score: 0
Accepted
time: 249ms
memory: 22844kb

input:

500 1000
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------...

output:

1874166

result:

ok single line: '1874166'

Test #11:

score: 0
Accepted
time: 305ms
memory: 17944kb

input:

500 500
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------...

output:

364856

result:

ok single line: '364856'

Test #12:

score: 0
Accepted
time: 361ms
memory: 17572kb

input:

500 500
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------...

output:

12208

result:

ok single line: '12208'

Test #13:

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

input:

2 6
------
|..|..
1-4-32
|....|

output:

10

result:

ok single line: '10'

Test #14:

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

input:

5 20
--------------------
.......|......|.....
-------------2------
....|.........|.....
--------------------
....|...............
--------------------
....|...............
--------------------
....|...............

output:

2

result:

ok single line: '2'

Test #15:

score: 0
Accepted
time: 2ms
memory: 3060kb

input:

1 1
-
|

output:

0

result:

ok single line: '0'

Test #16:

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

input:

1 1
-
.

output:

0

result:

ok single line: '0'

Test #17:

score: 0
Accepted
time: 2ms
memory: 3084kb

input:

2 3
---
.|.
919
|.|

output:

1

result:

ok single line: '1'