need help in 621e squre root of a permutation

Revision en2, by vivekr_nirma, 2020-03-20 21:29:00

i am solving education 4 and landed on this question ,i tried but couldn't so i saw the editoria and i wrote code according to it , but i am getting runtime error in this code on tc 18 ,it says "Exit code is -1073741819" i dont know what it is ,can you please please help me debug. thanks a lot in advance.

Tags #graphs, #permutation

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en4 English vivekr_nirma 2020-03-20 22:21:43 94
en3 English vivekr_nirma 2020-03-20 21:30:26 40 Tiny change: 'n advance.' -> 'n advance.\n\nvery sorry for the bad written code.'
en2 English vivekr_nirma 2020-03-20 21:29:00 10 Tiny change: '138) code ,it says ' -> '138) code on tc 18 ,it says '
en1 English vivekr_nirma 2020-03-20 21:28:05 450 Initial revision (published)