Unusual Team Gym
来源:互联网 发布:珠宝首饰销售数据分析 编辑:程序博客网 时间:2024/06/05 03:42
A lion, a mouse, and a beaver are one of the best teams at Animal University, and they have qualified to the ACM Arabella 2017 contest!
They want to choose their team name, and after many suggestions, they have reduced their options to two names: "FunkyMonkeys" and "WeWillEatYou".
They then created a poll on Facebook to help them with their final decision.
The results of the poll are now with Dr. Samer, and he will use the name with the highest votes to register the team. Can you help Dr. Samer to know which team name they will register with?
The first line of input is T – the number of test cases.
The first line of each test case contains two integers a, b (1 ≤ a, b ≤ 100) - the number of votes for "FunkyMonkeys" and "WeWillEatYou" respectively.
For each test case, output a single line containing "FunkyMonkeys" (without quotes), if that name received more points or tied with “WeWillEatYou”, otherwise output “WeWillEatYou”.
215 2070 70
WeWillEatYouFunkyMonkeys
//// main.cpp// 160929//// Created by 刘哲 on 17/4/13.// Copyright 2016年 my_code. All rights reserved.////#include <bits/stdc++.h>#include <iostream>#include <algorithm>#include <cstdio>#include <cmath>#include <cstring>#include <string>#include <string.h>#include <map>#include <set>#include <queue>#include <deque>#include <list>#include <bitset>#include <stack>#include <stdlib.h>#define lowbit(x) (x&-x)using namespace std;int main(){ int t; cin>>t; while(t--) { int a,b; cin>>a>>b; if(a<b) cout<<"WeWillEatYou"<<endl; else cout<<"FunkyMonkeys"<<endl; } return 0;}
- Unusual Team Gym
- GYM 100694 K.Team Rating(水~)
- Unusual Product
- This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for
- Gym
- Gym
- Gym
- Gym
- Gym
- Gym
- Gym
- Gym
- Gym
- Gym
- Gym
- Gym
- Gym
- Gym
- 使用webpack和babel搭建react开发环境
- 织女的红线
- Mac下搭建lamp
- 基于MySQL全文检索引擎—sphinx
- Linux 内核学习总结
- Unusual Team Gym
- ImportError: No module named input_data
- P1518 两只塔姆沃斯牛 The Tamworth Two(模拟)
- Django authenticate函数验证问题
- (ssl1072、ssl1273、ssl1274)P2347 砝码称重
- A progress dialog show when optimize apk during booting up (Android device)
- Hadoop The Definitive Guide 4th Editon
- spark RDD 分区
- START