You are not logged in. Please login at to post your questions!


AC solution gives WA on resubmitting!

I was going through 'All Submissions' of the problem with code: COOLING (

I found a submission by 'blackpanther' (

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 (

Am just a little confused, as to how is this possible?

asked 20 May '18, 12:37

arnavvarshney's gravatar image

accept rate: 10%

edited 20 May '18, 12:38

Waiting for an appropriate answer! Someone look into the matter please!

(30 May '18, 20:15) arnavvarshney3★

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

sarthakmanna's gravatar image

accept rate: 38%

Ik how to solve the problem, I was just confused over the judging process!

(30 May '18, 23:13) arnavvarshney3★
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • 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:


question asked: 20 May '18, 12:37

question was seen: 151 times

last updated: 30 May '18, 23:13