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 1570. Eating High

Laise (Chernenkov Alexey) Why it may be WA15 ? [2] // Problem 1570. Eating High 10 Oct 2007 18:25
Why it may be WA15 ?
Can anybody tell me?

if it can help you to answer? this is my source code:

source code temporarily deleted

Edited by author 10.10.2007 21:33
KIRILL(ArcSTUpid coder:) Re: Why it may be WA15 ? [1] // Problem 1570. Eating High 10 Oct 2007 20:36
this line is wrong
if (bcnt[i-b[j].cal][0] >= bcnt[i][0] && bcnt[i-b[j].cal][j] == 0)

delete your code
Laise (Chernenkov Alexey) Re: Why it may be WA15 ? // Problem 1570. Eating High 10 Oct 2007 21:51
Kirill, very very much thanks to you!!!! ))) Now a have AC... There was realy mistake in the statement... very LAMO mistake