How to better utilize memory for minimum spanning trees problems?

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

I've been trying to solve 1857G - Counting Graphs 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 Английский shikanoko_noko 2023-08-27 18:20:49 320 Initial revision (published)