zoj 3610

很水的題目,但是沒發現之前,打了很長的代碼

#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;
}

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章