PRIME1: Unable to submit in 'C' even though it is listed in the Language

Hi admin,

I have been trying to submit problem ‘PRIME1’ in C(gcc 4.3.2) but on submitting the c code i get an pop up saying “You can’t submit in this language for this problem. Try link.”

What is the problem, i can see C listed in the language allowed for the problem and people have already submitted code in c for the problem.
Please look.

Many thanks.

1 Like

when i am running the program on my pc its giving the accuratye reasult
but when i am submiting it here ,the error is shown

1 Like

Not sure what the problem is, try emailing to admin@codechef.com or feedback@codechef.com. As an alternative you can submit your C code as C++ and still get it passed. you might just need to change the headers to appropriate values. #include<stdio.h> becomes #include<cstdio> #include<math.h> becomes #include<cmath> and so on.

2 Likes

@ admin any response??

@abhiroop1: I have already replied to your mail.

what is the error that you see?