Why does run error come?

Can you tell me how to remove run error ??

Hey @apoorvagupta1,
Can you please share your code ? So i can see what exactly the error is

I have written this code by using arrays only but why its showing run error after submitting

my code - https://ide.codingblocks.com/s/360533

The sample test case works fine !
Make sure you are using the i , j , and t pointer within the bounds of the array