QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#463627#3181. BurglaryMaMengQiAC ✓52ms62672kbC++202.4kb2024-07-05 08:02:462024-07-05 08:02:46

詳細信息

Test #1:

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

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: 0ms
memory: 3572kb

input:

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

output:

12

result:

ok single line: '12'

Test #3:

score: 0
Accepted
time: 21ms
memory: 15812kb

input:

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

output:

48794

result:

ok single line: '48794'

Test #4:

score: 0
Accepted
time: 4ms
memory: 15620kb

input:

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

output:

58959

result:

ok single line: '58959'

Test #5:

score: 0
Accepted
time: 36ms
memory: 62516kb

input:

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

output:

22478205

result:

ok single line: '22478205'

Test #6:

score: 0
Accepted
time: 49ms
memory: 62672kb

input:

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

output:

0

result:

ok single line: '0'

Test #7:

score: 0
Accepted
time: 40ms
memory: 62456kb

input:

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

output:

224305

result:

ok single line: '224305'

Test #8:

score: 0
Accepted
time: 52ms
memory: 62484kb

input:

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

output:

0

result:

ok single line: '0'

Test #9:

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

input:

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

output:

976

result:

ok single line: '976'

Test #10:

score: 0
Accepted
time: 6ms
memory: 9844kb

input:

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

output:

1874166

result:

ok single line: '1874166'

Test #11:

score: 0
Accepted
time: 6ms
memory: 6684kb

input:

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

output:

364856

result:

ok single line: '364856'

Test #12:

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

input:

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

output:

12208

result:

ok single line: '12208'

Test #13:

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

input:

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

output:

10

result:

ok single line: '10'

Test #14:

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

input:

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

output:

2

result:

ok single line: '2'

Test #15:

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

input:

1 1
-
|

output:

0

result:

ok single line: '0'

Test #16:

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

input:

1 1
-
.

output:

0

result:

ok single line: '0'

Test #17:

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

input:

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

output:

1

result:

ok single line: '1'