Thanks @vijju.
In case you get stuck on implementation, you can view my code here-
Please give a link to the question, as well as your solution. Because without seeing your code, its not possible to pin-point the exact reason behind the error.
Hi,
Thanks for the reply. I would want to rectify the error myself at least till I give up… 
I am more keen in understanding, where in this website can I find the output the code is generating? I am just seeing a NZEC in the MySubmissions page; but not clear of what exception the code is throwing.
Regards,
Lalitha
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
