Today I was solving this problem 632C - The Smallest String Concatenation.
The judge's response for this code 18114819 was Runtime error on test 8.
Then I changed only the last line in the sort comparison function (comp function) from (return true) to (return false) (code: 18114847), and the judge's response was Accepted.
Does anyone have an explanation for that?
Thank you.