2018-ICPC-焦作区预赛
作者:互联网
开个新坑,希望这套题,能在时间无限的情况下题数达到金牌,缓慢更新中。
A:水中之水
#include <cstring> #include <cstdio> #include <algorithm> #include <cmath> #include <cstdlib> #include <vector> #include <iostream> #define lson rt<<1 #define rson rt<<1|1 using namespace std; typedef long long ll; typedef pair<int, int> P; const int maxn=1e4+10; char s[5][1000]={"Typically Otaku","Eye-opener","Young Traveller","Excellent Traveller","Contemporary Xu Xiake"};; int main() { int T; cin>>T; while(T--) { int t=0; for(int i=0;i<4;i++) { int b;cin>>b; if(b!=0) t++; } cout<<s[t]<<endl; } }
标签:Xu,Eye,cout,int,Traveller,ICPC,预赛,include,2018 来源: https://www.cnblogs.com/King-of-Dark/p/12410983.html