NZEC error most commonly happens when you access an array out of bounds, especially in JAVA. I will suggest you go through any nested loop and make sure its of type-
for(i=0;i<n-1;i++)
for(j=i+1;j<n;j++)
NZEC error most commonly happens when you access an array out of bounds, especially in JAVA. I will suggest you go through any nested loop and make sure its of type-
for(i=0;i<n-1;i++)
for(j=i+1;j<n;j++)
Which language are you using? If its C++, then long and int have same memory. Use long long int instead of long or int.
Data overflow usually gives WA.
I am using Java
Then it must be a logical error on your part. Make sure to read the Q carefully and check comments (if any).
Thanks vijju, it was a logical error. Got AC.
Actually itâs completed now.is it right now ?
Goto your profile and use the pencil button to edit things out. Its better if you use english. Regarding use of native language in address, please mail them at help@codechef.com because its they who can best tell regarding this.
Rhombus and radius? Do you mean semi-diagonal?
answer is 10,0,2
Google âCodechefâs new karma systemâ and you will find every detail needed on codechef blog.
What is the reason for this errorâŚ
Custom input works fine but when I run or submit shows wrong answerâŚ
Even works on my own IDE
The contest is currently live. It will be against rules answering this question.
Slower languages are given appropriate time compensation so that they dont get TLE if algo is fine. You should, however, prefer c++ ideally.
Comments are usually hidden until admins decide otherwise.
What does star represents.? Is it the same as karma? Or please send me a reference to get all about codechef
now someone tell why i got this error ⌠and still getting in many other
why do i need to check through in.nextInt() or some other??
and even after checking now it gives runtime error(nzec) why?
someone pls help?