QHEAP1

  • + 0 comments

    I believe this test case is wrong. In order to print the final number 20842598 the input needs one more line with content '3'. Otherwise the number is never printed and the case fails.

    22 1 286789035 1 255653921 1 274310529 1 494521015 3 2 255653921 2 286789035 3 1 236295092 1 254828111 2 254828111 1 465995753 1 85886315 1 7959587 1 20842598 2 7959587 3 1 -51159108 3 2 -51159108 3 1 789534713