Help !!

Правка en5, от Intuition2.0, 2024-12-07 01:43:25

With respect to this problem : 2050G - Tree Destruction

Using vector of vector, compiled successfully and giving correct output
But when trying the same with array of vectors, it doesn't compile

Error by compiler -> error: use of deleted function 'main()::<lambda(auto:28, int, int)>::~<lambda>()' <lambda(auto:28, int, int)>::~<lambda>()' is implicitly deleted because the default definition would be ill-formed:

I want to know why this is happening. Can someone please tell me the reason behind this unknown behavior of lambda function ?

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en5 Английский Intuition2.0 2024-12-07 01:43:25 4
en4 Английский Intuition2.0 2024-12-07 01:39:28 41
en3 Английский Intuition2.0 2024-12-07 01:32:43 223
en2 Английский Intuition2.0 2024-12-07 01:28:22 22
en1 Английский Intuition2.0 2024-12-07 01:27:03 2185 Initial revision (published)