PRIME1: C code is not accepted

I was trying this Prime number generator problem in the practice->medium section.

My code is in C and when I submit it , it shows a message that code is not accepted in this language.
Why is this so?

it seems to be a mistake, as some users have already got AC in this language. please contact an admin.