Problem in sorting vector of struct ,Problem New Year and Conference Hello 2020

Revision en2, by Eddagdeg, 2020-05-24 16:26:08

Hello CF community,While solving problem D New Year and Conferencefrom contest Hello 2020 ,I got runtime error in test 8 I tried some tests and I figured out that for some cases the problem is with my struct (some variables in my struct are huge random numbers and I cannot sort my vector of this struct while I'm sure that I'm setting every variable) here is link for my submission any help would be appreciated,and thanks

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Eddagdeg 2020-05-24 16:26:08 48
en1 English Eddagdeg 2020-05-24 16:24:36 569 Initial revision (published)