1
已采纳
for(i=0;i<3;i++)
{
cin>>a;
if(a==k)
{
cout<<"Right!"<<endl;
break;
}
else
if(a!=k)
{
cout<<"Error!"<<endl;
count++;
}
if(count==3)
{
cout<<"Freeze!"<<endl;
}
}
1
0
0

