QOJ.ac

QOJ

时间限制: 1 s 内存限制: 64 MB 总分: 100

#2485. 占星术

统计

著名的占星家 Pavel Globus 正在编写一个用于股票市场交易的机器人。Pavel 打算通过星象来预测股价。他分析了历史数据,并注意到例如当火星位于摩羯座时,股价会下跌;而当月亮位于双子座时,行情会上涨。当然,Pavel 不会透露他算法的所有细节。

Pavel 的编程能力不太好,他无法处理程序中根据当前日期确定太阳所在星座的部分。当前日期的星座可以根据下表确定:

星座 日期范围
Aries 3月21日 — 4月19日
Taurus 4月20日 — 5月20日
Gemini 5月21日 — 6月20日
Cancer 6月21日 — 7月22日
Leo 7月23日 — 8月22日
Virgo 8月23日 — 9月22日
Libra 9月23日 — 10月22日
Scorpio 10月23日 — 11月22日
Sagittarius 11月23日 — 12月21日
Capricorn 12月22日 — 1月19日
Aquarius 1月20日 — 2月18日
Pisces 2月19日 — 3月20日

请帮助 Pavel 编写一个程序,根据当前日期确定星座。作为回报,Pavel 将帮助你增加资本。

输入格式

输入为一个格式为 YYYY-MM-DD 的字符串,表示当前日期,其中 YYYY 为年份 ($2021 \le \text{YYYY} \le 2050$),MM 为月份 ($01 \le \text{MM} \le 12$),DD 为日期 ($01 \le \text{DD} \le 31$)。

日期是真实存在的。

输出格式

输出列表 Aries, Taurus, Gemini, Cancer, Leo, Virgo, Libra, Scorpio, Sagittarius, Capricorn, Aquarius, Pisces 中的一个单词,对应相应的星座。

样例

输入格式 1

2021-05-07

输出格式 1

Taurus

Discussions

About Discussions

The discussion section is only for posting: General Discussions (problem-solving strategies, alternative approaches), and Off-topic conversations.

This is NOT for reporting issues! If you want to report bugs or errors, please use the Issues section below.

Open Discussions 0
No discussions in this category.

Issues

About Issues

If you find any issues with the problem (statement, scoring, time/memory limits, test cases, etc.), you may submit an issue here. A problem moderator will review your issue.

Guidelines:

  1. This is not a place to publish discussions, editorials, or requests to debug your code. Issues are only visible to you and problem moderators.
  2. Do not submit duplicated issues.
  3. Issues must be filed in English or Chinese only.
Active Issues 0
No issues in this category.
Closed/Resolved Issues 0
No issues in this category.