wrong answer COOLING

just getting wrong answer on codechef…
plz work this code…

http://www.codechef.com/viewsolution/1959749

@hitesh091…correct your Sorting code.it gives garbage value in array after sorting.hence your solution gives WA.i have use Quicksort(inbuilt function) to sort its giving right answer you can view here your code with Quick sort used http://ideone.com/Tew1bn and use \n to print new line(Always remember to output in correct format)

1 Like

@ajay154
thanks a lot…

1 Like