I'm trying to submit code for the problem "Life, the Universe, and Everything" under the Section "Practice(easy)". But I'm getting this error message
Runtime Error(NZEC)
But in code Blocks the below is working fine. Whats wrong
#include<stdio.h>
void main()
{
int i;
scanf("%d",&i);
while(i!=42&&i<100)
{
printf("\n%d",i);
scanf("%d",&i);
}
return ;
}