SIGFPE error

#include<stdio.h>
int main()
{
long long p1,p2,t,k;
int countchef=1,c;
scanf("%lld",&t);
scanf("%d",&c);
while(t>0)
{
scanf("%lld%lld%lld",&p1,&p2,&k);
if(c%k==0)
{
if((countchef%2)==0)
printf(“COOK\n”);
else
printf(“CHEF\n”);
countchef+=1;
}
t–;
}
return 0;
}