How to better utilize memory for minimum spanning trees problems?

Правка en1, от tranducbo, 2023-08-27 18:20:49

I've been trying to solve 1857G - Подсчет графов for a while and it seems that my solutions will invariably receive MLE. Is there any way to use less memory to solve these kinds of problems. Any help would be appreciated.

My solutions: 220733247

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский tranducbo 2023-08-27 18:20:49 320 Initial revision (published)