please check what's the problem in this code? Showing WA..

#include
#include
using namespace std;
int main()
{
int d1,d2,nod,du1,du2,i,j,tc;
char day1[100],day2[100],day[7][100]={“monday”,“tuesday”,“wednesday”,“thursday”,“friday”,“saturday”,“sunday”};
cin>>tc;
for(int i1=0;i1<tc;i1++)
{
cin>>day1>>day2>>du1>>du2;
for(i=0;i<7;i++)
{
if(strcmp(day1,day[i])==0)
d1=i;
if(strcmp(day2,day[i])==0)
d2=i;
}
if(d1>d2)
d2+=7;
nod=d2-d1+1;
if(nod<du1)
cout<<“impossible\n”;
else
{
for(i=0;nod<=du2;i++)
nod+=7;
if(i==1)
cout<<nod-7<<endl;
else
cout<<“many\n”;
}
}
return 0;
}

Submission link please, else thread deleted.