Help !!

Revision en5, by 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 ?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en5 English Intuition2.0 2024-12-07 01:43:25 4
en4 English Intuition2.0 2024-12-07 01:39:28 41
en3 English Intuition2.0 2024-12-07 01:32:43 223
en2 English Intuition2.0 2024-12-07 01:28:22 22
en1 English Intuition2.0 2024-12-07 01:27:03 2185 Initial revision (published)