Code: Select all
Code ``Accepted". Problem in updating the segment when the one being updated is the current max/min node.
Code: Select all
Code ``Accepted". Problem in updating the segment when the one being updated is the current max/min node.
Code: Select all
Code removed after AC, problem in deleting from the heap.
Code: Select all
Code Edited
Code: Select all
AC, thanks to brianfry713. :)
Code: Select all
AC, lots of missed cases. Should analyze carefully and properly. :(
Code: Select all
Removed after AC. Remember not to manipulate the loop counter...
Code: Select all
Code removed. Should always remember to makenull() my queue. :D
Code: Select all
AC :D should always remember to remove or comment my debugging mess. :D