Sorting not working in map of vectors

Правка en2, от harshit2202, 2019-03-13 10:46:57

I have been doing this code Code Link

Problem is that when I iterating over keys to sort their vector, then sorting is not working properly. Test Case:- 3 4 3 4 3 3[cut] 3 7 5 5[cut] 1 1 5 3[cut] 3 3 7 3[cut] 4 1 5 5[cut] 3 1 5 3[cut]

Any idea why? Thanks in advance:)

Теги maps, #sorting

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский harshit2202 2019-03-13 10:48:38 77
en2 Английский harshit2202 2019-03-13 10:46:57 35
en1 Английский harshit2202 2019-03-13 10:46:11 319 Initial revision (published)