Every time I try to run a code it takes so much time and in the end shows exit status -1

whenever I run my code it takes so much time and in the end shows exit status -1 I ? I need help

This most likely means that your program uses too much memory and hits the limit. Repls are killed when they run out of memory (and will show exit status -1).
Check your resources near the top to verify.

1 Like