Cleaning Up Problem https://www.codechef.com/problems/CLEANUP

what is wrong with the following code…it seems to be fine, but when i submit it it given runtime error

#include<stdio.h>

#define max 50
int main(){
int n,m,t,done[max];//stores the status of job(1 for complete and 0 for incomplete)
scanf("%d",&t);
while(t>=1&&t<=50){
scanf("%d%d",&n,&m);//total no of jobs
for(int i=0;i<n;i++)
done[i]=0;
for(int i=0;i<m;i++){
int temp;
scanf("%d",&temp);
done[temp-1]=1;
}
int count=0;
for(int i=0;i<n;i++){//to display jobs of chef
if(done[i]!=1){
if(count%2==0){
printf("%d “,i+1);
}
count++;
}
}
printf(”\n");
count=0;
for(int i=0;i<n;i++){//to display jobs of assistant
if(done[i]!=1){
if(count%2!=0){
printf("%d “,i+1);
}
count++;
}
}
t–;
printf(”\n");
}

return 0;

}