Some birthdays are given, please determine their corresponding constellations.
給你數組生日,請判斷此生日屬於哪個星座 ?
星座參考資料:
牡羊座 Aries 03/21 - 04/19 金牛座 Taurus 04/20 - 05/20
雙子座 Gemini 05/21 - 06/21 巨蟹座 Cancer 06/22 - 07/22
獅子座 Leo 07/23 - 08/22 處女座 Virgo 08/23 - 09/22
天秤座 Libra 09/23 - 10/23 天蠍座 Scorpio 10/24 - 11/22
射手座 Sagittarius 11/23 - 12/21 摩羯座 Capricorn 12/22 - 01/19
水瓶座 Aquarius 01/20 - 02/18 雙魚座 Pisces 02/19 - 03/20
The first integer n represents the number of test sets.
Each test set includes two numbers separated by a space, the first for the month, and the second for the date.
輸入的第一個整數 n ,代表有 n 筆資料。接下來的 n 組整數代表生日的日期,第一個數字代表月份,第二個數字代表日期,兩數字之間由空格隔開。
Output the corresponding constellation.
輸出對應的星座。
4 2 22 5 21 6 15 9 17
Pisces Gemini Gemini Virgo
編號 | 身分 | 題目 | 主題 | 人氣 | 發表日期 |
沒有發現任何「解題報告」 |