Getting memory limit exceeded error

Правка en1, от LunaticPriest, 2019-08-15 20:04:53

Hello, I'm solving a basic connected components . My code is this . I tried switching to bitsets and a map instead of vectors, and also wrote my dfs iteratively in case of stack overflow. What can be the problem? Thanks!

Теги mle, #dfs, #c++

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский LunaticPriest 2019-08-15 20:04:53 348 Initial revision (published)