×

# AC solution gives WA on resubmitting!

 0 I was going through 'All Submissions' of the problem with code: COOLING (https://www.codechef.com/problems/COOLING). I found a submission by 'blackpanther' (https://www.codechef.com/viewsolution/7866286). I couldn't understand the logic behind the code, and so I submitted it to see how could it work! I got WA with the same solution (https://www.codechef.com/viewsolution/18605583) Am just a little confused, as to how is this possible? asked 20 May '18, 12:37 143●8 accept rate: 10% Waiting for an appropriate answer! Someone look into the matter please! (30 May '18, 20:15)

 0 The only reasonable explanation can be the updation of the test cases without rejudging the already submitted solutions. The solution must have passed the previous test cases; however, fails for the updated ones... The problem is easy, however. The editorial is also provided. You need to greedily assign the lightest pie to the rack having the least capacity which can hold the pie successfully. answered 30 May '18, 23:11 946●1●15 accept rate: 38% Ik how to solve the problem, I was just confused over the judging process! (30 May '18, 23:13)
 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,056
×31
×29
×9

question asked: 20 May '18, 12:37

question was seen: 151 times

last updated: 30 May '18, 23:13