#include<iostream>
#include<cstring>
using namespace std;
int main()
{
int n;
cin>>n;
while(n--)
{
int x=0,y=0;
string a,b;
cin>>a;
cin>>b;
if(a=="Hunter")
x=0;
else if(a=="Gun")
x=1;
else x=2;
if(b =="Hunter")
y=0;
else if(b =="Gun")
y=1;
else y=2;
if(x==y) cout<<"Tie"<<endl;
else if(x==0&&y==1||x==1&&y==2||x==2&&y==0) cout<<"Player1"<<endl;
else cout<<"Player2"<<endl;
}
}
缩进!!!
我错了