# Runtime error (NZEC) on MAXSPSUM

**URL:** <https://discuss.codechef.com/t/runtime-error-nzec-on-maxspsum/29690>\
**Category:** Uncategorized\
**Created:** [July 1, 2019, 2:03pm UTC](https://discuss.codechef.com/t/runtime-error-nzec-on-maxspsum/29690 "2019-07-01T14:03:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mwumar](https://discuss.codechef.com/user_avatar/discuss.codechef.com/mwumar/32/3653_2.png) [@mwumar](https://discuss.codechef.com/u/mwumar)\
**Post date:** [July 1, 2019, 2:03pm UTC](https://discuss.codechef.com/t/runtime-error-nzec-on-maxspsum/29690/1 "2019-07-01T14:03:19Z")

</div>

[https://www.codechef.com/viewsolution/25020688](https://www.codechef.com/viewsolution/25020688)

It is my solution but I’m getting an NZEC error plz try to figure out the issue in my code…

---

<div class="post-metadata">

**Author:** ![deadshot\_sb](https://discuss.codechef.com/user_avatar/discuss.codechef.com/deadshot_sb/32/20795_2.png) [@deadshot\_sb](https://discuss.codechef.com/u/deadshot_sb)\
**Post date:** [July 1, 2019, 2:30pm UTC](https://discuss.codechef.com/t/runtime-error-nzec-on-maxspsum/29690/2 "2019-07-01T14:30:08Z")

</div>

You can go through the link and discussion it will give you an information regarding NZEC error

> **[NZEC error in Python - GeeksforGeeks](https://www.geeksforgeeks.org/python/nzec-error-python/)**
>
> Your All-in-One Learning Portal: GeeksforGeeks is a comprehensive educational platform that empowers learners across domains-spanning computer science and programming, school education, upskilling, commerce, software tools, competitive exams, and...

> [@Why do I get an NZEC?](https://discuss.codechef.com/t/why-do-i-get-an-nzec/1775):
>
> Why m i getting NZEC (Non Zero Exit Code) for my program?
