Hi im new to codechef and just wanted to know why this solution is not being accepted even though it gives me the correct output on codeblocks. I read the faqs and even those didnt help. Please see, thanks
include <iostream>
using namespace std;
int main() { int i, x[10];
for(i=0;i<4;i++)
{
if (x[i]==42)
break;
else if(x[i]>=100)
break;
else if (x[i]<0)
break;
else
cout<<x[i]<<"\n";
}
}