Help with Problem — C , #641 , Div-2

Правка en1, от Ferrarixxx, 2020-05-16 12:19:25

Hi Am writing this because am highly desperate to find my mistake.

Please help me find mistake in my approach which is same as that of editorial
except that i used map and priority_queue
For Problem C ( https://codeforces.net/contest/1350/problem/C )

Am getting WA on test case — 4
https://codeforces.net/contest/1350/submission/80297500

I HAVE COMMENTED MY APPROACH IN MY CODE , WRT ALL THE STEPS
PLEASE HAVE A LOOK

THANKS IN ADVANCE.

Editorial Link : https://codeforces.net/blog/entry/77284

Теги #help me, #help, #problem c

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Ferrarixxx 2020-05-16 12:19:25 583 Initial revision (published)