QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#463622#3181. BurglaryZhangYiDeWA 48ms62472kbC++202.5kb2024-07-05 07:50:252024-07-05 07:50:25

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 3552kb

input:

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

output:

12

result:

ok single line: '12'

Test #3:

score: 0
Accepted
time: 26ms
memory: 15508kb

input:

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

output:

48794

result:

ok single line: '48794'

Test #4:

score: 0
Accepted
time: 5ms
memory: 15436kb

input:

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

output:

58959

result:

ok single line: '58959'

Test #5:

score: 0
Accepted
time: 37ms
memory: 62428kb

input:

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

output:

22478205

result:

ok single line: '22478205'

Test #6:

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

input:

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

output:

0

result:

ok single line: '0'

Test #7:

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

input:

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

output:

224305

result:

ok single line: '224305'

Test #8:

score: 0
Accepted
time: 48ms
memory: 62420kb

input:

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

output:

0

result:

ok single line: '0'

Test #9:

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

input:

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

output:

976

result:

ok single line: '976'

Test #10:

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

input:

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

output:

1874166

result:

ok single line: '1874166'

Test #11:

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

input:

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

output:

364856

result:

ok single line: '364856'

Test #12:

score: 0
Accepted
time: 7ms
memory: 6624kb

input:

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

output:

12208

result:

ok single line: '12208'

Test #13:

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

input:

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

output:

10

result:

ok single line: '10'

Test #14:

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

input:

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

output:

2

result:

ok single line: '2'

Test #15:

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

input:

1 1
-
|

output:

0

result:

ok single line: '0'

Test #16:

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

input:

1 1
-
.

output:

0

result:

ok single line: '0'

Test #17:

score: -100
Wrong Answer
time: 0ms
memory: 3816kb

input:

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

output:

0

result:

wrong answer 1st lines differ - expected: '1', found: '0'