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

 

上一篇:李宏毅机器学习15—Semi-supervised learning


下一篇:Codeforces 1106D Lunar New Year and a Wander|堆