I was wondering if someone could help me? I am running a program which runs on custom input and local ide but gives NZEC RE when submitting. this is my first time coding on this platform and I am a little unsure of how to proceed. I am running my code on JAVA and can’t share my code because it is related to ongoing contest.
i think some mistake is in your code it has nothing to do with platform.
I am aware of that. I am not sure how I could narrow down what the mistake could be.
see this error can cause when you are trying to access a value which is not possible such as a[-1] or when a[i] when i is not in range etc…
Yeah, I am looking for these errors but cant find them. seems like something trivial which escapes my notice but would be caught almost immediately by someone experienced.
Thanks. Program worked. was a very stupid mistake.