zoj 3610 Yet Another Story of Rock-paper-scissors

#include "iostream"
#include "string"
using namespace std;

int main()
{
	int testcase;
	string str1, str2, str3;
	cin >> testcase;
	while (testcase--)
	{
		cin >> str1 >> str2 >> str3;
		cout << str2 << " will survive" << endl;
	}
}

你可能感兴趣的:(zoj 3610 Yet Another Story of Rock-paper-scissors)