Ctrl+P again to print, arrows/tab to navigate results, enter to confirm

    Please in order to save solutions and appear on the leaderboards. New here? Check out the Tutorial hole.

    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.

    SignSymbolDate
    AriesMarch 21 – April 19
    TaurusApril 20 – May 20
    GeminiMay 21 – June 21
    CancerJune 22 – July 22
    LeoJuly 23 – August 22
    VirgoAugust 23 – September 22
    LibraSeptember 23 – October 22
    ScorpioOctober 23 – November 22
    SagittariusNovember 23 – December 21
    CapricornDecember 22 – January 19
    AquariusJanuary 20 – February 18
    PiscesFebruary 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

    External links: Zodiac Sign Wikipedia, Ascending Sign Wikipedia

    0 bytes, 0 chars
    Restore solution
    Compiled from AT&T syntax to x86-64 Linux. Use syscalls to write output.
    05AB1E is an experimental language, solutions won't contribute to scoring until the language goes live. Please leave feedback on the GitHub issue.
    ALGOL 68 is an experimental language, solutions won't contribute to scoring until the language goes live. Please leave feedback on the GitHub issue.
    APL is an experimental language, solutions won't contribute to scoring until the language goes live. Please leave feedback on the GitHub issue.
    Arturo is an experimental language, solutions won't contribute to scoring until the language goes live. Please leave feedback on the GitHub issue.
    Befunge is an experimental language, solutions won't contribute to scoring until the language goes live. Please leave feedback on the GitHub issue.
    BQN is an experimental language, solutions won't contribute to scoring until the language goes live. Please leave feedback on the GitHub issue.
    CJam is an experimental language, solutions won't contribute to scoring until the language goes live. Please leave feedback on the GitHub issue.
    CoffeeScript is an experimental language, solutions won't contribute to scoring until the language goes live. Please leave feedback on the GitHub issue.
    Egel is an experimental language, solutions won't contribute to scoring until the language goes live. Please leave feedback on the GitHub issue.
    Erlang is an experimental language, solutions won't contribute to scoring until the language goes live. Please leave feedback on the GitHub issue.
    Fennel is an experimental language, solutions won't contribute to scoring until the language goes live. Please leave feedback on the GitHub issue.
    Groovy is an experimental language, solutions won't contribute to scoring until the language goes live. Please leave feedback on the GitHub issue.
    Harbour is an experimental language, solutions won't contribute to scoring until the language goes live. Please leave feedback on the GitHub issue.
    Hare is an experimental language, solutions won't contribute to scoring until the language goes live. Please leave feedback on the GitHub issue.
    Haxe is an experimental language, solutions won't contribute to scoring until the language goes live. Please leave feedback on the GitHub issue.
    Hush is an experimental language, solutions won't contribute to scoring until the language goes live. Please leave feedback on the GitHub issue.
    Hy is an experimental language, solutions won't contribute to scoring until the language goes live. Please leave feedback on the GitHub issue.
    iogii is an experimental language, solutions won't contribute to scoring until the language goes live. Please leave feedback on the GitHub issue.
    Knight is an experimental language, solutions won't contribute to scoring until the language goes live. Please leave feedback on the GitHub issue.
    Odin is an experimental language, solutions won't contribute to scoring until the language goes live. Please leave feedback on the GitHub issue.
    Picat is an experimental language, solutions won't contribute to scoring until the language goes live. Please leave feedback on the GitHub issue.
    Qore is an experimental language, solutions won't contribute to scoring until the language goes live. Please leave feedback on the GitHub issue.
    Racket is an experimental language, solutions won't contribute to scoring until the language goes live. Please leave feedback on the GitHub issue.
    Rebol is an experimental language, solutions won't contribute to scoring until the language goes live. Please leave feedback on the GitHub issue.
    Rexx is an experimental language, solutions won't contribute to scoring until the language goes live. Please leave feedback on the GitHub issue.
    Scala is an experimental language, solutions won't contribute to scoring until the language goes live. Please leave feedback on the GitHub issue.
    Squirrel is an experimental language, solutions won't contribute to scoring until the language goes live. Please leave feedback on the GitHub issue.
    Stax is an experimental language, solutions won't contribute to scoring until the language goes live. Please leave feedback on the GitHub issue.
    Uiua is an experimental language, solutions won't contribute to scoring until the language goes live. Please leave feedback on the GitHub issue.
    Umka is an experimental language, solutions won't contribute to scoring until the language goes live. Please leave feedback on the GitHub issue.
    Vala is an experimental language, solutions won't contribute to scoring until the language goes live. Please leave feedback on the GitHub issue.
    Vyxal is an experimental language, solutions won't contribute to scoring until the language goes live. Please leave feedback on the GitHub issue.
    ctrl + enter or

    Delete Solution

    Are you sure you want to delete your solution(s) for Zodiac Signs?

    If you have separate bytes and chars solutions then both will be deleted.

    This is irreversible, please backup any code you care about.

    Type I understand and press confirm to continue.