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

Why it may be WA15 ?
Posted by Laise (Chernenkov Alexey) 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
Re: Why it may be WA15 ?
Posted by KIRILL(ArcSTUpid coder:) 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
Re: Why it may be WA15 ?
Posted by Laise (Chernenkov Alexey) 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