×

Minion Chef and Bananas (MINEAT) .....Please tell me what's wrong with my solution

 0 This is the question: https://www.codechef.com/problems/MINEAT This is my solution - https://www.codechef.com/viewsolution/18905480 My solution gives correct answer for sample test cases. I know this solution will not get me through Subtask2 but I think it should have cleared Subtask1. Please help. asked 15 Jun '18, 16:22 0●1 accept rate: 0%

 0 "Chef would like to make sure that she can finish eating all bananas by that time" What you are doing is checking if time == hour. if(time<=hour) then also it will do, because she just wants to finish it before her mother comes. answered 15 Jun '18, 17:15 255●5 accept rate: 11% thanks a lot (15 Jun '18, 17:18)
 toggle preview community wiki:
Preview

By Email:

Markdown Basics

• *italic* or _italic_
• **bold** or __bold__
• image?![alt text](/path/img.jpg "title")
• numbered list: 1. Foo 2. Bar
• to add a line break simply add two spaces to where you would like the new line to be.
• basic HTML tags are also supported
• mathemetical formulas in Latex between \$ symbol

Question tags:

×1,038

question asked: 15 Jun '18, 16:22

question was seen: 161 times

last updated: 15 Jun '18, 17:24