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.
very sorry for the bad written code.
after some modification i got ac but i still dont know why in this case was runtime error.