Zodiac Signs
Details
Given a MM-DD HH:MM
date and time, output the corresponding
Zodiac sign symbol according to the first table below. If the ascending
sign is different from the Zodiac sign (sun sign), output it as well.
Approximate the ascending sign using the sun sign and time according to
the second table below.
Sign | Symbol | Date |
---|---|---|
Aries | ♈ | March 21 – April 19 |
Taurus | ♉ | April 20 – May 20 |
Gemini | ♊ | May 21 – June 21 |
Cancer | ♋ | June 22 – July 22 |
Leo | ♌ | July 23 – August 22 |
Virgo | ♍ | August 23 – September 22 |
Libra | ♎ | September 23 – October 22 |
Scorpio | ♏ | October 23 – November 22 |
Sagittarius | ♐ | November 23 – December 21 |
Capricorn | ♑ | December 22 – January 19 |
Aquarius | ♒ | January 20 – February 18 |
Pisces | ♓ | February 19 – March 20 |
Time/Sun Symbol | ♈ | ♉ | ♊ | ♋ | ♌ | ♍ | ♎ | ♏ | ♐ | ♑ | ♒ | ♓ |
---|---|---|---|---|---|---|---|---|---|---|---|---|
00:00 - 01:59 | ♒ | ♓ | ♈ | ♉ | ♊ | ♋ | ♌ | ♍ | ♎ | ♏ | ♐ | ♑ |
02:00 - 03:59 | ♓ | ♈ | ♉ | ♊ | ♋ | ♌ | ♍ | ♎ | ♏ | ♐ | ♑ | ♒ |
04:00 - 05:59 | ♈ | ♉ | ♊ | ♋ | ♌ | ♍ | ♎ | ♏ | ♐ | ♑ | ♒ | ♓ |
06:00 - 07:59 | ♉ | ♊ | ♋ | ♌ | ♍ | ♎ | ♏ | ♐ | ♑ | ♒ | ♓ | ♈ |
08:00 - 09:59 | ♊ | ♋ | ♌ | ♍ | ♎ | ♏ | ♐ | ♑ | ♒ | ♓ | ♈ | ♉ |
10:00 - 11:59 | ♋ | ♌ | ♍ | ♎ | ♏ | ♐ | ♑ | ♒ | ♓ | ♈ | ♉ | ♊ |
12:00 - 13:59 | ♌ | ♍ | ♎ | ♏ | ♐ | ♑ | ♒ | ♓ | ♈ | ♉ | ♊ | ♋ |
14:00 - 15:59 | ♍ | ♎ | ♏ | ♐ | ♑ | ♒ | ♓ | ♈ | ♉ | ♊ | ♋ | ♌ |
16:00 - 17:59 | ♎ | ♏ | ♐ | ♑ | ♒ | ♓ | ♈ | ♉ | ♊ | ♋ | ♌ | ♍ |
18:00 - 19:59 | ♏ | ♐ | ♑ | ♒ | ♓ | ♈ | ♉ | ♊ | ♋ | ♌ | ♍ | ♎ |
20:00 - 21:59 | ♐ | ♑ | ♒ | ♓ | ♈ | ♉ | ♊ | ♋ | ♌ | ♍ | ♎ | ♏ |
22:00 - 23:59 | ♑ | ♒ | ♓ | ♈ | ♉ | ♊ | ♋ | ♌ | ♍ | ♎ | ♏ | ♐ |
0 bytes, 0 chars
Restore solution
Compiled from
AT&T syntax to x86-64 Linux. Use
syscalls to write output.
ctrl + enter or