It might be because you have referred to out of bound index array (that ie, referring to index > len(array). I also got this error on first try
It might be because you have referred to out of bound index array (that ie, referring to index > len(array). I also got this error on first try
It might be because you have referred to out of bound index array (that ie, referring to index > len(array). I also got this error on first try
map(int,raw_input().split())
or
map(int,raw_input().split(' '))
Both are correct
It might be because you have referred to out of bound index array (that ie, referring to index > len(array). I also got this error on first try
If you are using java then remove the package declaration to fix the NZEC error.
why i am getting nzec error while i am using javascript
https://www.codechef.com/viewsolution/20963272
This is solution of a question ,it is running perfectly on my laptop but giving an NZEC error on codechef.
Anyone please help.Help me in knowing my mistakes.
#include<stdio.h>
void main()
{
int i,t,X,Y,Z,x,y,z;
scanf("%d\n",&t);
scanf("%d%d%d",&X,&Y,&Z);
for(i=0;i<t;i++)
{
x=X-Y;
y=Y-Z;
z=Z-X;
if(x>y && y>z && z>x)
printf(βyesβ);
else
printf(βnoβ);
}
}
I am getting the same error as I am using python
while taking the input only