Ferrarixxx's blog

By Ferrarixxx, history, 4 years ago, In English

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.com/contest/1350/problem/C )

Am getting WA on test case — 4
https://codeforces.com/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.com/blog/entry/77284

  • Vote: I like it
  • 0
  • Vote: I do not like it

| Write comment?
»
4 years ago, # |
  Vote: I like it 0 Vote: I do not like it

I think it's better to communicate with authors of this problem about that...