diff --git a/AcWing/763/763.cpp b/AcWing/763/763.cpp new file mode 100644 index 00000000..0ab99579 --- /dev/null +++ b/AcWing/763/763.cpp @@ -0,0 +1,22 @@ +#include + +using namespace std; + +int main() { + int t; + cin >> t; + while (t--) { + string a, b; + cin >> a >> b; + int as = a.size(); + int bs = b.size(); + if (as - bs == 3 || as - bs == -1 || as - bs == -2) { + cout << "Player1" << endl; + } else if (a == b) { + cout << "Tie" << endl; + } else { + cout << "Player2" << endl; + } + } + return 0; +}