|
|
back to boardWhy I have got WA14 Posted by bilol 29 Dec 2008 18:32 I have got wa 14 and don't know why Edited by author 29.12.2008 18:33 Re: Why I have got WA14 Bilol, Well, its almost a year now, but will write it down anyway. My WA program program was generating this: Input 5 3 hungry 4 hungry 5 hungry 5 satisfied 6 hungry Output 5 But the correct answer is Inconsistent. So, try to find maximum hungry value and minimum satisfied value and apply the given conditions. Varun |
|
|