QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#267323#5489. Room Evacuationlmq26052003WA 156ms25736kbC++203.9kb2023-11-27 09:10:072023-11-27 09:10:08

詳細信息

Test #1:

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

input:

4 5 3
.....
..P#.
..PPE
..P.E

output:

4

result:

ok single line: '4'

Test #2:

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

input:

3 3 5
...
P#P
P#E

output:

2

result:

ok single line: '2'

Test #3:

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

input:

20 15 53
PPEP..PP#P.#P.#
P.###EP#PEPP.E#
.PEEPEEP#E#PPE#
PE#.##P#..PP.##
E.PPP.#E##EPE##
E#P#.EEE.EEPPPP
P.#PPPE.PPPP#.P
.##EEEE.#E.E.##
P..P#PEPPEE#.PP
EPEEEEE#E.E.E#P
##.E.EPP.PEE.EP
..E#.PE.#EP.#PE
EEEEPP.E.#.EEP.
..E#PPE.#EPEP..
EPP.#.PP#P#P#PE
EE#.PP.#EP.PPE#
EEPP####P#.#E.#
PP.EEE..###PEP.
#EP...

output:

89

result:

ok single line: '89'

Test #4:

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

input:

4 1 137
.
#
#
#

output:

0

result:

ok single line: '0'

Test #5:

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

input:

14 15 200
###EPP...#P.E#.
#.##EE#E#.PP#EP
E.PPP.E.#.##PPP
#E.EP##..#.#.##
#P###EEE#E#.E.#
#P..EPPE.#..EE.
PP#P#E.#PP#.PEE
.PEPEE#E#..EE##
EE.PP.PE#EE#PEE
P.#EPP.P#.EPP#P
E..#P#PEPE#EP.#
E.PP.EEP.#.#...
PP.P#P#PEEEPPEE
#.EE.P.P.P#E#PP

output:

55

result:

ok single line: '55'

Test #6:

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

input:

9 13 200
.P.E.PEPP.EE.
.##E.EEE.P##.
P##P.#..EP.PE
E#EE...PEEP.E
E#....PPP#PPP
.#EPE.PPEP#PE
#EEP...##P...
#.P##EE#.E#.#
#EPEP.E...P#P

output:

28

result:

ok single line: '28'

Test #7:

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

input:

8 13 28
#PEPP..#E##EE
EEEPPEPPE...E
..##PP#P#..#P
P...PP.PPE#PE
EPPEE.PEEPEPP
#EPE#PE#####.
P.P#.#E.E...P
###EP##.EP.PP

output:

32

result:

ok single line: '32'

Test #8:

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

input:

13 20 200
P.E#E.P.#EP#P..#.#E.
..E...P.E#EP#.PE.P#P
##E#E#.P##P#PP#E#.EE
.P#..#PP.E#E#E#E#PPP
#P.EEP..EPEPPEE..E#E
PPE###...EEPP#.#E.P.
PP.#.##E#E##.P#.EPEE
EE#PEPE.#P#.PP..EP..
#.EPE#P.P#EEPPP.P##.
####E###PE#E###EPP##
#.EP#.#..#.#E#..#EPE
E#EEPE#PP..EPE#P#P.E
.#PPE#E.#.#EP#PEE#EP

output:

62

result:

ok single line: '62'

Test #9:

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

input:

14 5 200
..EEP
P.EE#
P.###
##.P#
#E.EP
...EE
..#..
PEPEE
##.PP
.P..P
PP#..
E.#EP
E..P.
EE.E.

output:

15

result:

ok single line: '15'

Test #10:

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

input:

2 1 167
P
P

output:

0

result:

ok single line: '0'

Test #11:

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

input:

6 20 199
.PE.E...P.EE...PE.##
P.EPP.#EE#E.PP.P.#.E
E#E#E#EEP.P.E##P.E##
EEP#PPE#EE..##PPPP.#
.PE#EP.PE#EE.P.E#EE#
E#P.EEPP..P..EE#E#.P

output:

28

result:

ok single line: '28'

Test #12:

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

input:

7 14 200
#PE##..E#EPEP.
###PEPE.P##PPP
#E.#P#PE###.PP
.E#E.#EEE#PP.P
P..EEEE#.E#P..
#.E.P.PEPEPP#.
#E#EEPE.E##...

output:

24

result:

ok single line: '24'

Test #13:

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

input:

8 19 200
.#..#P#.P.P#.E.E..P
#P.P##..P.PPE.EEP.E
#.##P.#E.P##P....E.
##EPEE#.EPP.#.#EE.#
#.#EPP#EE.PP#E#E.##
PPPPE.EEP#EPEE..PPP
#P###PPP#EP..E#P###
#.##EPPE.#.PE#E.##P

output:

35

result:

ok single line: '35'

Test #14:

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

input:

6 15 200
##.#P.E#.PE.P.E
PEE...#E#EE..#P
P.#.E#EP..#E...
.EE#P#E.P.PEP#P
P###.EE#P##.EEE
.PE.E.P.PP.###.

output:

18

result:

ok single line: '18'

Test #15:

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

input:

2 12 200
#P.E.#...P#E
E.##..#.P#..

output:

1

result:

ok single line: '1'

Test #16:

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

input:

12 1 108
#
#
E
P
#
.
P
#
E
#
#
.

output:

1

result:

ok single line: '1'

Test #17:

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

input:

17 15 126
#.##.EEPEP#EE.E
#P.#PPEP.P.#E#P
.P##E.##E.E##PE
P#EPPE.E#.#EPE#
.EEEE.P#E.P...#
P.PEPPEEEE.PE#.
.#E..#...PPPPEP
##.EE.PE.PPPPE.
P..P#PEP....P#E
P.#...P...EPEE.
#EE#.EPP#PEE.##
.#.##.P#PEE###E
#.#..#..EE.E#.P
.#.#E.PPEEE...P
PPPP##.E.PPEEPP
EE.EE.EP.PEPPP.
EP#P.P.P.#.P.P.

output:

67

result:

ok single line: '67'

Test #18:

score: -100
Wrong Answer
time: 156ms
memory: 25736kb

input:

20 20 200
PPPPPPPPPPPPPPPPPPPP
PPPPPPPPPPPPPPPPPPPP
PPPPPPPPPPPPPPPPPPPP
PPPPPPPPPPPPPPPPPPPP
PPPPPPPPPPPPPPPPPPPP
PPPPPPPPPPPPPPPPPPPP
PPPPPPPPPPPPPPPPPPPP
PPPPPPPPPPPPPPPPPPPP
PPPPPPPPPPPPPPPPPPPP
PPPPPPPPPPPPPPPPPPPP
PPPPPPPPPPPPPPPPPPPP
PPPPPPPPPPPPPPPPPPPP
PPPPPPPPPPPPPPPPPPPP
PPPPPPPPPPPPPPPPP...

output:

399

result:

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