Quantcast
Channel: CodeChef Discuss - latest questions
Viewing all articles
Browse latest Browse all 39796

NZEC error in java code for problems SUMTRIAN and SPOON

$
0
0

Following are the two codes that ran perfectly in my ide namely eclipse and also ran in online ide: ideone.com with correct output. However codechef gives NZEC error while there is no "division by zero" in any of the codes,which mainly causes NZEC (as mentioned in FAQ). I have also tried using try catch(as referred by FAQ) but result remains the same! No improvement! HELP ME PLEASE!!!

http://ideone.com/Jprqlz

http://ideone.com/V6gqGW


Viewing all articles
Browse latest Browse all 39796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>