[HELP] getting Runtime error but cannot figure out anything

Правка en2, от simp_pro, 2023-10-24 02:10:22

https://codeforces.me/contest/1399/submission/229486965

I am iterating on all edges and storing all possible contribution. Then sorting it and using two pointer. Complexity: O(nlogw.log(nlogw)). It is same as jiangly solution. But I am getting Runtime error. I t already tried looking for index out of bounds and memory limit

Теги runtime error

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский simp_pro 2023-10-24 02:10:22 5 Tiny change: 'e error. It already ' -> 'e error. I\nt already '
en1 Английский simp_pro 2023-10-24 02:09:34 388 Initial revision (published)