Mr. Young's Problem
该比赛已结束,您无法在比赛模式下递交该题目。您可以点击“在题库中打开”以普通模式查看和递交本题。
题目描述
With the rapid development of Artificial Intelligence(AI), it is becoming more and more convenient when we are using robots. Recently, the metaverse concept is getting explosion, which is a imagination of the future that the people will socialize in a virtual world called metaverse. What's more fantastic, even the Facebook company changed its name to "Meta" in order to catch up with the "metaverse" topic.
Mr. Young is going to develop a robot that simulates the communication between human, and has a problem while making this kind of robot: How to make a robot that automaticly interacts with human and correctly answer the questions human made?
So He came up with a plan:
- When a human says "1", then it answers with "I'm fine, thanks.".
- When a human says "2", then it answers with the number of today (output 14).
- When a human says "3", then check whether the number given is even. If yes, it will answer with . Otherwise it will answer with .
Do you know how to make a program for him?
Please pay attention to the content inside double quotes!!! Your submission will be accepted once your program has right answers and right output format.
输入格式
The first line contains one number .
The next lines contains the questions of a human.
If the human asks if a number is an even number, the next inline number separated with a space will tell the exact number (<<).
输出格式
Output what the robot answers to the human.
Each line contains one answer and corresponds with a question.
样例
3
1
3 2
3 1
I'm fine, thanks.
yes
no
『小白杯』2021黄冈师范学院第一届新生赛
- 状态
- 已结束
- 规则
- ACM/ICPC
- 题目
- 7
- 开始于
- 2021-11-14 14:30
- 结束于
- 2021-11-14 17:30
- 持续时间
- 3 小时
- 主持人
- 参赛人数
- 95