ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1152. False Mirrors

WA #4
Posted by Elmi Ehmedov 19 May 2011 17:51
Please give me some tests. I use DFS,but WA4.

Edited by author 19.05.2011 17:52
Re: WA #4
Posted by Th3_g0d 10 Aug 2012 14:17
Check this one :-)
>> 12
>> 8 8 8 1 1 8 8 8 1 1 8 8

<< 68

Edited by author 10.08.2012 14:29
Re: WA #4
Posted by A.06 4 Apr 2013 13:10
shouldnt the answer be 67 instead of 68?

-> 1 1 8 8 8 1 1 8 8
->  1 1 1 1 8 8
->  1 1 1

total: 44 + 20 + 3 = 67 ?

EDIT: Its my mistake sorry, you are right, after shooting the walls still reamin adjacent even if the adjacent wall is shot.

Edited by author 04.04.2013 13:10

Edited by author 04.04.2013 13:10

Edited by author 04.04.2013 13:32

Edited by author 04.04.2013 13:32