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

    This hole is experimental, passing requirements may change. Solutions won't contribute to scoring until the hole goes live.

    Please leave feedback on the GitHub issue.

    Details

    Given each region (and an organization) print the corresponding unicode flag.

    Unicode encodes standard flags using 26 regional indicator symbols from U+1F1E6 🇦 to U+1F1FF 🇿, one for each letter in the latin alphabet.

    A flag is composed of two sequential regional indicator symbols which spell a given region's two-letter ISO 3166-1 alpha-2 code.

    For example, Vietnam's two-letter ISO code is VN, so 🇻+🇳 = 🇻🇳.

    The full mapping is as follows:

    Name ISO Flag
    AfghanistanAF🇦🇫
    Åland IslandsAX🇦🇽
    AlbaniaAL🇦🇱
    AlgeriaDZ🇩🇿
    American SamoaAS🇦🇸
    AndorraAD🇦🇩
    AngolaAO🇦🇴
    AnguillaAI🇦🇮
    AntarcticaAQ🇦🇶
    Antigua and BarbudaAG🇦🇬
    ArgentinaAR🇦🇷
    ArmeniaAM🇦🇲
    ArubaAW🇦🇼
    Ascension IslandAC🇦🇨
    AustraliaAU🇦🇺
    AustriaAT🇦🇹
    AzerbaijanAZ🇦🇿
    BahamasBS🇧🇸
    BahrainBH🇧🇭
    BangladeshBD🇧🇩
    BarbadosBB🇧🇧
    BelarusBY🇧🇾
    BelgiumBE🇧🇪
    BelizeBZ🇧🇿
    BeninBJ🇧🇯
    BermudaBM🇧🇲
    BhutanBT🇧🇹
    BoliviaBO🇧🇴
    Bosnia and HerzegovinaBA🇧🇦
    BotswanaBW🇧🇼
    BrazilBR🇧🇷
    British Indian Ocean TerritoryIO🇮🇴
    British Virgin IslandsVG🇻🇬
    BruneiBN🇧🇳
    BulgariaBG🇧🇬
    Burkina FasoBF🇧🇫
    BurundiBI🇧🇮
    CambodiaKH🇰🇭
    CameroonCM🇨🇲
    CanadaCA🇨🇦
    Canary IslandsIC🇮🇨
    Cape VerdeCV🇨🇻
    Caribbean NetherlandsBQ🇧🇶
    Cayman IslandsKY🇰🇾
    Central African RepublicCF🇨🇫
    ChadTD🇹🇩
    ChileCL🇨🇱
    ChinaCN🇨🇳
    Christmas IslandCX🇨🇽
    Cocos (Keeling) IslandsCC🇨🇨
    ColombiaCO🇨🇴
    ComorosKM🇰🇲
    Congo - BrazzavilleCG🇨🇬
    Congo - KinshasaCD🇨🇩
    Cook IslandsCK🇨🇰
    Costa RicaCR🇨🇷
    Côte d'IvoireCI🇨🇮
    CroatiaHR🇭🇷
    CubaCU🇨🇺
    CuraçaoCW🇨🇼
    CyprusCY🇨🇾
    CzechiaCZ🇨🇿
    DenmarkDK🇩🇰
    Name ISO Flag
    DjiboutiDJ🇩🇯
    DominicaDM🇩🇲
    Dominican RepublicDO🇩🇴
    EcuadorEC🇪🇨
    EgyptEG🇪🇬
    El SalvadorSV🇸🇻
    Equatorial GuineaGQ🇬🇶
    EritreaER🇪🇷
    EstoniaEE🇪🇪
    EswatiniSZ🇸🇿
    EthiopiaET🇪🇹
    European UnionEU🇪🇺
    Falkland IslandsFK🇫🇰
    Faroe IslandsFO🇫🇴
    FijiFJ🇫🇯
    FinlandFI🇫🇮
    FranceFR🇫🇷
    French GuianaGF🇬🇫
    French PolynesiaPF🇵🇫
    French Southern TerritoriesTF🇹🇫
    GabonGA🇬🇦
    The GambiaGM🇬🇲
    GeorgiaGE🇬🇪
    GermanyDE🇩🇪
    GhanaGH🇬🇭
    GibraltarGI🇬🇮
    GreeceGR🇬🇷
    GreenlandGL🇬🇱
    GrenadaGD🇬🇩
    GuadeloupeGP🇬🇵
    GuamGU🇬🇺
    GuatemalaGT🇬🇹
    GuernseyGG🇬🇬
    GuineaGN🇬🇳
    Guinea-BissauGW🇬🇼
    GuyanaGY🇬🇾
    HaitiHT🇭🇹
    HondurasHN🇭🇳
    Hong KongHK🇭🇰
    HungaryHU🇭🇺
    IcelandIS🇮🇸
    IndiaIN🇮🇳
    IndonesiaID🇮🇩
    IranIR🇮🇷
    IraqIQ🇮🇶
    IrelandIE🇮🇪
    Isle of ManIM🇮🇲
    IsraelIL🇮🇱
    ItalyIT🇮🇹
    JamaicaJM🇯🇲
    JapanJP🇯🇵
    JerseyJE🇯🇪
    JordanJO🇯🇴
    KazakhstanKZ🇰🇿
    KenyaKE🇰🇪
    KiribatiKI🇰🇮
    KosovoXK🇽🇰
    KuwaitKW🇰🇼
    KyrgyzstanKG🇰🇬
    LaosLA🇱🇦
    LatviaLV🇱🇻
    LebanonLB🇱🇧
    LesothoLS🇱🇸
    Name ISO Flag
    LiberiaLR🇱🇷
    LibyaLY🇱🇾
    LiechtensteinLI🇱🇮
    LithuaniaLT🇱🇹
    LuxembourgLU🇱🇺
    MacauMO🇲🇴
    MadagascarMG🇲🇬
    MalawiMW🇲🇼
    MalaysiaMY🇲🇾
    MaldivesMV🇲🇻
    MaliML🇲🇱
    MaltaMT🇲🇹
    Marshall IslandsMH🇲🇭
    MauritaniaMR🇲🇷
    MauritiusMU🇲🇺
    MayotteYT🇾🇹
    MexicoMX🇲🇽
    MicronesiaFM🇫🇲
    MoldovaMD🇲🇩
    MonacoMC🇲🇨
    MongoliaMN🇲🇳
    MontenegroME🇲🇪
    MontserratMS🇲🇸
    MoroccoMA🇲🇦
    MozambiqueMZ🇲🇿
    MyanmarMM🇲🇲
    NamibiaNA🇳🇦
    NauruNR🇳🇷
    NepalNP🇳🇵
    NetherlandsNL🇳🇱
    New CaledoniaNC🇳🇨
    New ZealandNZ🇳🇿
    NicaraguaNI🇳🇮
    NigerNE🇳🇪
    NigeriaNG🇳🇬
    NiueNU🇳🇺
    Norfolk IslandNF🇳🇫
    North KoreaKP🇰🇵
    North MacedoniaMK🇲🇰
    Northern Mariana IslandsMP🇲🇵
    NorwayNO🇳🇴
    OmanOM🇴🇲
    PakistanPK🇵🇰
    PalauPW🇵🇼
    PalestinePS🇵🇸
    PanamaPA🇵🇦
    Papua New GuineaPG🇵🇬
    ParaguayPY🇵🇾
    PeruPE🇵🇪
    PhilippinesPH🇵🇭
    Pitcairn IslandsPN🇵🇳
    PolandPL🇵🇱
    PortugalPT🇵🇹
    Puerto RicoPR🇵🇷
    QatarQA🇶🇦
    RéunionRE🇷🇪
    RomaniaRO🇷🇴
    RussiaRU🇷🇺
    RwandaRW🇷🇼
    Saint BarthélemyBL🇧🇱
    Saint HelenaSH🇸🇭
    Saint Kitts and NevisKN🇰🇳
    Saint LuciaLC🇱🇨
    Name ISO Flag
    Saint Pierre and MiquelonPM🇵🇲
    Saint Vincent and the GrenadinesVC🇻🇨
    SamoaWS🇼🇸
    San MarinoSM🇸🇲
    São Tomé and PríncipeST🇸🇹
    Saudi ArabiaSA🇸🇦
    SenegalSN🇸🇳
    SerbiaRS🇷🇸
    SeychellesSC🇸🇨
    Sierra LeoneSL🇸🇱
    SingaporeSG🇸🇬
    Sint MaartenSX🇸🇽
    SlovakiaSK🇸🇰
    SloveniaSI🇸🇮
    Solomon IslandsSB🇸🇧
    SomaliaSO🇸🇴
    South AfricaZA🇿🇦
    South Georgia and the South Sandwich IslandsGS🇬🇸
    South KoreaKR🇰🇷
    South SudanSS🇸🇸
    SpainES🇪🇸
    Sri LankaLK🇱🇰
    SudanSD🇸🇩
    SurinameSR🇸🇷
    SwedenSE🇸🇪
    SwitzerlandCH🇨🇭
    SyriaSY🇸🇾
    TaiwanTW🇹🇼
    TajikistanTJ🇹🇯
    TanzaniaTZ🇹🇿
    ThailandTH🇹🇭
    Timor-LesteTL🇹🇱
    TogoTG🇹🇬
    TokelauTK🇹🇰
    TongaTO🇹🇴
    Trinidad and TobagoTT🇹🇹
    Tristan da CunhaTA🇹🇦
    TunisiaTN🇹🇳
    TürkiyeTR🇹🇷
    TurkmenistanTM🇹🇲
    Turks and Caicos IslandsTC🇹🇨
    TuvaluTV🇹🇻
    UgandaUG🇺🇬
    UkraineUA🇺🇦
    United Arab EmiratesAE🇦🇪
    United KingdomGB🇬🇧
    United NationsUN🇺🇳
    United StatesUS🇺🇸
    United States Virgin IslandsVI🇻🇮
    UruguayUY🇺🇾
    UzbekistanUZ🇺🇿
    VanuatuVU🇻🇺
    Vatican CityVA🇻🇦
    VenezuelaVE🇻🇪
    VietnamVN🇻🇳
    Wallis and FutunaWF🇼🇫
    Western SaharaEH🇪🇭
    YemenYE🇾🇪
    ZambiaZM🇿🇲
    ZimbabweZW🇿🇼

    External links: Wikipedia

    Copied
    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.
    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 Flags?

    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.