Comments
0

My solution using multiset passed with 1.85

+31

+12

+12

TL hack with 10^6 numbers. OK if solution hasn't scanf/sync_with_stdio.