i was submitting first program in feb long challenge.it compiled succesfully int he terminal but when i posted it showed me a runtime error…
kindly help me out…
Since this is a live contest, we cannot help you directly with the code. However i would suggest you refer to this FAQ for information on various errors.
What runtime error are you specifically getting? NZEC?
Check constraints carefully and confirm if you are not doing any out of bound memory operations. If the problem persists, wait till the contest finishes.
NZEC is not very specific: it just means “non-zero exit code”, but that doesn’t tell you which code (SIGSEGV, for example, does).