很水的題目,但是沒發現之前,打了很長的代碼
#include<iostream>
#include<stdio.h>
#include<string>
using namespace std;
int main()
{
int t;
string str1,str2,str;
scanf("%d",&t);
while(t--)
{
cin>>str1>>str2>>str;
cout<<str2;
printf(" will survive\n");
}
return 0;
}