cj gs

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
All
Compiled from AT&T syntax to x86-64 Linux. Use syscalls to write output.
05AB1E is an experimental language, no solutions will be saved. Please leave feedback on the GitHub issue.
ALGOL 68 is an experimental language, no solutions will be saved. Please leave feedback on the GitHub issue.
Arturo is an experimental language, no solutions will be saved. Please leave feedback on the GitHub issue.
Befunge is an experimental language, no solutions will be saved. Please leave feedback on the GitHub issue.
BQN is an experimental language, no solutions will be saved. Please leave feedback on the GitHub issue.
CJam is an experimental language, no solutions will be saved. Please leave feedback on the GitHub issue.
CoffeeScript is an experimental language, no solutions will be saved. Please leave feedback on the GitHub issue.
Egel is an experimental language, no solutions will be saved. Please leave feedback on the GitHub issue.
Fennel is an experimental language, no solutions will be saved. Please leave feedback on the GitHub issue.
Gleam is an experimental language, no solutions will be saved. Please leave feedback on the GitHub issue.
Groovy is an experimental language, no solutions will be saved. Please leave feedback on the GitHub issue.
Harbour is an experimental language, no solutions will be saved. Please leave feedback on the GitHub issue.
Hare is an experimental language, no solutions will be saved. Please leave feedback on the GitHub issue.
Haxe is an experimental language, no solutions will be saved. Please leave feedback on the GitHub issue.
Hush is an experimental language, no solutions will be saved. Please leave feedback on the GitHub issue.
Hy is an experimental language, no solutions will be saved. Please leave feedback on the GitHub issue.
Odin is an experimental language, no solutions will be saved. Please leave feedback on the GitHub issue.
Racket is an experimental language, no solutions will be saved. Please leave feedback on the GitHub issue.
Rebol is an experimental language, no solutions will be saved. Please leave feedback on the GitHub issue.
Rexx is an experimental language, no solutions will be saved. Please leave feedback on the GitHub issue.
Rockstar 2 is an experimental language, no solutions will be saved. Please leave feedback on the GitHub issue.
Scala is an experimental language, no solutions will be saved. Please leave feedback on the GitHub issue.
Squirrel is an experimental language, no solutions will be saved. Please leave feedback on the GitHub issue.
Uiua is an experimental language, no solutions will be saved. 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.