错哪了???
#include <bits/stdc++.h>
using namespace std;
template<typename T>
void fastRead(T& x) {
x = 0;
T flag = 1;
char ch = getchar();
while (!isdigit(ch)) {
if (ch == '-') {
flag = -1;
}
ch = getchar();
}
while (isdigit(ch)) {
x = x * 10 + (ch - '0');
ch = getchar();
}
x *= flag;
}
int main() {
ios::sync_with_stdio(0);
int n;
fastRead(n);
for ( int i = 0 ; i < n ; i ++ ){
string a, b;
cin >> a >> b;
if ( a == "Scissors" ){
if ( b == "Paper" ) cout << "Player1\n";
if ( b == "Scissors" ) cout << "Tie\n";
if ( b == "Rock" ) cout << "Player2\n";
}
else if ( a == "Paper" ){
if ( b == "Rock" ) cout << "Player1\n";
if ( b == "Paper" ) cout << "Tie\n";
if ( b == "Scissors" ) cout << "Player2\n";
}
else {
if ( b == "Scissors" ) cout << "Player1\n";
if ( b == "Rock" ) cout << "Tie\n";
if ( b == "Paper" ) cout << "Player2\n";
}
}
return 0;
}