Round 1A: The Last Word

10121 correct small sets and 9565 correct large sets. View problem statement or contest analysis.

Compact solutions

Solved in...

C++ (9038 sets)
Python (4128 sets)
Java (4126 sets)
C# (608 sets)
C (451 sets)
Ruby (277 sets)
JavaScript (166 sets)
Haskell (134 sets)
Go (119 sets)
Scala (107 sets)
PHP (92 sets)
MATLAB (53 sets)
Perl (44 sets)
OCaml (32 sets)
Swift (27 sets)
Rust (22 sets)
Groovy (18 sets)
Pascal (18 sets)
Clojure (14 sets)
Lisp (13 sets)
Kotlin (12 sets)
Lua (11 sets)
Visual Basic (11 sets)
D (10 sets)
Erlang (10 sets)
Julia (10 sets)
Racket (10 sets)
Objective-C (9 sets)
R (9 sets)
Dart (8 sets)
F# (5 sets)
Q (4 sets)
Shell (4 sets)
TCL (4 sets)
CJam (3 sets)
Scheme (3 sets)
ActionScript (2 sets)
AppleScript (2 sets)
CoffeeScript (2 sets)
Elixir (2 sets)
Factor (2 sets)
J (2 sets)
Picat (2 sets)
Smalltalk (2 sets)
JSX (1 set)
TypeScript (1 set)

Submission Origin

India (2153 contestants)
United States (1681 contestants)
China (1086 contestants)
Japan (373 contestants)
Canada (365 contestants)
South Korea (338 contestants)
Russia (293 contestants)
Brazil (291 contestants)
Taiwan (253 contestants)
Australia (206 contestants)
Bangladesh (177 contestants)
France (169 contestants)
Egypt (126 contestants)
Vietnam (124 contestants)
Singapore (122 contestants)
Ukraine (119 contestants)
Thailand (114 contestants)
Hong Kong (108 contestants)
Indonesia (108 contestants)
Poland (103 contestants)
Mexico (92 contestants)
Germany (90 contestants)
Colombia (88 contestants)
Spain (71 contestants)
Argentina (69 contestants)
United Kingdom (65 contestants)
New Zealand (62 contestants)
Israel (55 contestants)
Romania (53 contestants)
Pakistan (51 contestants)
Greece (50 contestants)
Iran (48 contestants)
Kazakhstan (46 contestants)
Belarus (45 contestants)
Hungary (43 contestants)
Slovakia (39 contestants)
Turkey (39 contestants)
Italy (37 contestants)
Bolivia (34 contestants)
Czech Republic (34 contestants)
Portugal (33 contestants)
Peru (32 contestants)
South Africa (30 contestants)
Philippines (29 contestants)
Sweden (29 contestants)
Venezuela (27 contestants)
Belgium (26 contestants)
Netherlands (23 contestants)
Switzerland (23 contestants)
Sri Lanka (22 contestants)
Chile (21 contestants)
Lithuania (20 contestants)
? (19 contestants)
Bulgaria (18 contestants)
Nigeria (17 contestants)
Georgia (15 contestants)
Tunisia (15 contestants)
Cameroon (14 contestants)
Morocco (14 contestants)
Austria (13 contestants)
Croatia (13 contestants)
Norway (12 contestants)
Malaysia (11 contestants)
Nepal (10 contestants)
Slovenia (10 contestants)
Serbia (9 contestants)
Armenia (8 contestants)
Finland (8 contestants)
Iceland (8 contestants)
Jamaica (7 contestants)
Kosovo (7 contestants)
Latvia (7 contestants)
Moldova (7 contestants)
Denmark (6 contestants)
Ireland (6 contestants)
Macedonia (6 contestants)
Uruguay (6 contestants)
Dominican Republic (5 contestants)
Lebanon (5 contestants)
Mongolia (5 contestants)
Turkmenistan (5 contestants)
Algeria (4 contestants)
Azerbaijan (4 contestants)
Benin (4 contestants)
Cyprus (4 contestants)
Estonia (4 contestants)
Jordan (4 contestants)
Malta (4 contestants)
Nicaragua (4 contestants)
Uzbekistan (4 contestants)
Albania (3 contestants)
Cambodia (3 contestants)
Guadeloupe (3 contestants)
Kenya (3 contestants)
Kyrgyzstan (3 contestants)
Luxembourg (3 contestants)
Palestine (3 contestants)
Antarctica (2 contestants)
Costa Rica (2 contestants)
Ethiopia (2 contestants)
Guatemala (2 contestants)
Macau (2 contestants)
Puerto Rico (2 contestants)
Syria (2 contestants)
Trinidad and Tobago (2 contestants)
Afghanistan (1 contestant)
Angola (1 contestant)
Bosnia and Herzegovina (1 contestant)
Burundi (1 contestant)
Cayman Islands (1 contestant)
Cuba (1 contestant)
Ecuador (1 contestant)
Guinea (1 contestant)
Haiti (1 contestant)
Ivory Coast (1 contestant)
Kuwait (1 contestant)
Madagascar (1 contestant)
Mauritius (1 contestant)
Mozambique (1 contestant)
New Caledonia (1 contestant)
Panama (1 contestant)
Papua New Guinea (1 contestant)
Paraguay (1 contestant)
Qatar (1 contestant)
Senegal (1 contestant)
Somalia (1 contestant)
Tajikistan (1 contestant)
Togo (1 contestant)
U.S. Virgin Islands (1 contestant)
Yemen (1 contestant)
Zambia (1 contestant)
Ă…land Islands (1 contestant)