Round 1A: Alphabet Cake

4846 correct small sets and 4304 correct large sets. View problem statement or contest analysis.

Compact solutions

Solved in...

C++ (5504 sets)
Python (1555 sets)
Java (1337 sets)
C# (197 sets)
C (157 sets)
Ruby (64 sets)
Go (49 sets)
JavaScript (47 sets)
Scala (38 sets)
Haskell (27 sets)
PHP (22 sets)
MATLAB (19 sets)
Kotlin (12 sets)
OCaml (12 sets)
Perl (12 sets)
D (11 sets)
Rust (8 sets)
F# (6 sets)
Visual Basic (5 sets)
Clojure (4 sets)
Lua (4 sets)
Objective-C (4 sets)
R (4 sets)
Swift (4 sets)
Pascal (3 sets)
CoffeeScript (2 sets)
Dart (2 sets)
Elixir (2 sets)
Factor (2 sets)
J (2 sets)
Julia (2 sets)
Crystal (1 set)
Picat (1 set)
Racket (1 set)
sed (1 set)
TCL (1 set)

Submission Origin

United States (748 contestants)
India (720 contestants)
China (619 contestants)
Japan (270 contestants)
Canada (199 contestants)
Russia (198 contestants)
South Korea (180 contestants)
Taiwan (164 contestants)
Brazil (142 contestants)
Australia (86 contestants)
Ukraine (81 contestants)
France (72 contestants)
Vietnam (72 contestants)
Poland (70 contestants)
Egypt (67 contestants)
Bangladesh (61 contestants)
Singapore (54 contestants)
Hong Kong (50 contestants)
Thailand (49 contestants)
Germany (46 contestants)
Indonesia (45 contestants)
Mexico (43 contestants)
Colombia (39 contestants)
Belarus (38 contestants)
Israel (33 contestants)
United Kingdom (30 contestants)
Argentina (29 contestants)
Hungary (29 contestants)
Peru (29 contestants)
Romania (27 contestants)
New Zealand (26 contestants)
Iran (24 contestants)
Italy (24 contestants)
Kazakhstan (23 contestants)
Spain (23 contestants)
Philippines (22 contestants)
Czech Republic (20 contestants)
Slovakia (19 contestants)
Turkey (19 contestants)
Sweden (18 contestants)
Portugal (17 contestants)
Belgium (16 contestants)
Bolivia (15 contestants)
Bulgaria (15 contestants)
Greece (14 contestants)
Netherlands (14 contestants)
Venezuela (14 contestants)
Lithuania (12 contestants)
South Africa (12 contestants)
? (10 contestants)
Chile (9 contestants)
Georgia (8 contestants)
Switzerland (8 contestants)
Armenia (7 contestants)
Malaysia (7 contestants)
Austria (6 contestants)
Denmark (6 contestants)
Finland (6 contestants)
Iceland (6 contestants)
Ireland (6 contestants)
Macedonia (6 contestants)
Moldova (6 contestants)
Nepal (6 contestants)
Norway (6 contestants)
Algeria (5 contestants)
Azerbaijan (5 contestants)
Croatia (5 contestants)
Serbia (5 contestants)
Uzbekistan (5 contestants)
Latvia (4 contestants)
Macau (4 contestants)
Morocco (4 contestants)
Slovenia (4 contestants)
Sri Lanka (4 contestants)
Syria (4 contestants)
Tunisia (4 contestants)
Antarctica (3 contestants)
Cyprus (3 contestants)
Ethiopia (3 contestants)
Jamaica (3 contestants)
Jordan (3 contestants)
Lebanon (3 contestants)
Mongolia (3 contestants)
Saudi Arabia (3 contestants)
Cuba (2 contestants)
Dominican Republic (2 contestants)
Kyrgyzstan (2 contestants)
Pakistan (2 contestants)
Puerto Rico (2 contestants)
United Arab Emirates (2 contestants)
Albania (1 contestant)
Benin (1 contestant)
Bosnia and Herzegovina (1 contestant)
British Virgin Islands (1 contestant)
Cambodia (1 contestant)
Cameroon (1 contestant)
Costa Rica (1 contestant)
Greenland (1 contestant)
Guatemala (1 contestant)
Kosovo (1 contestant)
Luxembourg (1 contestant)
Malta (1 contestant)
Nicaragua (1 contestant)
Palestine (1 contestant)
Tajikistan (1 contestant)
Turkmenistan (1 contestant)
U.S. Virgin Islands (1 contestant)