Why using custom comparator gives MLE?

Правка en1, от im_115, 2022-01-12 11:12:19

Problem link — 20C - Dijkstra?
Solution with custom comparator (give MLE) — 142440675
Solution without comparator (Accepted) — 142444892
The logic of both the solutions are same (Dijkstra). Only the implementation is different. Why does using a custom comparator give MLE?

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский im_115 2022-01-12 11:12:19 370 Initial revision (published)