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 1066. Garland

I think the test 5 may be wrong
Posted by chnlkw 28 Mar 2008 20:14
It says that "no lamp in the garland lies on the ground ", it means that h[i] and h[i+1] can't be both 0 at the same time. if my program considers it ,it got WA on #5,but it got AC when i ignore it.

I have seen a AC program which doesn't care about the condition.

Am i wrong?