TLE!

Правка en3, от noobied, 2018-07-04 14:22:33

http://mirror.codeforces.com/contest/242/submission/39896396 why my soltion gives TLE while other solution with same approach got accepted Can anyone help me out .Please Don't Downvote i already got -23 Contributions.

UpD:with use of treemap it got accepted but with AbstractMap.SimpleEntry it get tle is it bcz of bad hash function implemented in AbstrtactMap.SimpleEntry ?

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский noobied 2018-07-04 14:22:33 5
en2 Английский noobied 2018-07-04 14:22:07 158
en1 Английский noobied 2018-07-04 14:06:41 214 Initial revision (published)