Question of august challenge 2018 div 2 read bob,cant get what's wrong,can anyone tell??

#include
#include<ctype.h>
using namespace std;
int main()
{
char a[3],b[3];
int t,cb,eb,i,co,eo;
cin>>t;
while(t!=0)
{
i=2;
cb=0,eb=0,co=0,eo=0;
cin>>a>>b;
while(i>=0)
{
a[i]=(tolower(a[i]));
b[i]=(tolower(b[i]));
i–;
}
i=2;
while(i>=0)
{
if(a[i]==‘b’)
cb++;
if(a[i]==‘o’)
co++;
if(b[i]==‘b’)
eb++;
if(b[i]==‘o’)
eo++;
i–;
}
if((((cb==2)&&(co==1)))||(((eb==2)&&(eo==1))))
cout<<“yes\n”;
else if((((cb>1)&&(eo>0)))||(((eb>1)&&(co>0))))
cout<<“yes\n”;
else if((a[0]==‘b’&&a[1]==‘b’&&b[2]==‘o’)||(a[0]==‘b’&&a[2]==‘b’&&b[1]==‘o’)||
(a[2]==‘b’&&a[1]==‘b’&&b[0]==‘o’))
cout<<“yes\n”;
else if((b[0]==‘b’&&b[1]==‘b’&&a[2]==‘o’)||(b[0]==‘b’&&b[2]==‘b’&&a[1]==‘o’)||
(b[2]==‘b’&&b[1]==‘b’&&a[0]==‘o’))
cout<<“yes\n”;
else if((b[0]==‘b’&&a[2]==‘b’&&b[1]==‘o’)||(b[0]==‘b’&&a[1]==‘b’&&b[2]==‘o’)||(b[2]==‘b’&&a[1]==‘b’&&b[0]==‘o’)||(b[2]==‘b’&&a[0]==‘b’&&b[1]==‘o’)||(b[1]==‘b’&&a[2]==‘b’&&b[0]==‘o’||(b[1]==‘b’&&a[0]==‘b’&&b[2]==‘o’)))
cout<<“yes\n”;
else if((a[0]==‘b’&&b[2]==‘b’&&a[1]==‘o’)||(a[0]==‘b’&&b[1]==‘b’&&a[2]==‘o’)||(a[2]==‘b’&&b[1]==‘b’&&a[0]==‘o’)||(a[2]==‘b’&&b[0]==‘b’&&a[1]==‘o’)||(a[1]==‘b’&&b[2]==‘b’&&a[0]==‘o’||(a[1]==‘b’&&b[0]==‘b’&&a[2]==‘o’)))
cout<<“yes\n”;
else
cout<<“no\n”;
t–;
}
return 0;
}

Thanks for soln. See you again here when admin punishes you for palgarism. And seeing you try to prove that you have not copied anyone’s sol. Bye until then. Thanks Bro you made my day. xD