Qualification Round: Alien Language

7863 correct small sets and 6938 correct large sets. View problem statement or contest analysis.

Compact solutions

Solved in...

C++ (6397 sets)
Java (3445 sets)
Python (1649 sets)
C# (1055 sets)
C (570 sets)
Perl (401 sets)
Ruby (330 sets)
PHP (295 sets)
Pascal (151 sets)
Haskell (111 sets)
Shell (61 sets)
Visual Basic (60 sets)
JavaScript (37 sets)
Scala (23 sets)
Groovy (22 sets)
MATLAB (19 sets)
Scheme (16 sets)
ActionScript (15 sets)
OCaml (12 sets)
Lisp (11 sets)
Clojure (9 sets)
Erlang (9 sets)
Objective-C (9 sets)
AWK (6 sets)
F# (6 sets)
D (4 sets)
J (3 sets)
TCL (3 sets)
AutoIt (2 sets)
Factor (2 sets)
Lua (2 sets)
Maple (2 sets)
Boo (1 set)
Fortran (1 set)
PL/SQL (1 set)
PowerShell (1 set)
Prolog (1 set)
sed (1 set)
SQL (1 set)

Submission Origin

China (1181 contestants)
United States (1096 contestants)
India (1036 contestants)
Russia (486 contestants)
Brazil (317 contestants)
Japan (300 contestants)
Poland (219 contestants)
Ukraine (184 contestants)
South Korea (175 contestants)
Canada (151 contestants)
Australia (132 contestants)
Argentina (115 contestants)
Taiwan (115 contestants)
United Kingdom (113 contestants)
Romania (111 contestants)
Germany (94 contestants)
Egypt (90 contestants)
Hungary (87 contestants)
France (85 contestants)
Spain (83 contestants)
Thailand (83 contestants)
Mexico (75 contestants)
Colombia (72 contestants)
Indonesia (70 contestants)
Hong Kong (68 contestants)
Bangladesh (65 contestants)
Vietnam (63 contestants)
Belarus (62 contestants)
Italy (57 contestants)
Singapore (57 contestants)
Bulgaria (53 contestants)
South Africa (53 contestants)
Slovakia (52 contestants)
Netherlands (48 contestants)
Turkey (43 contestants)
Czech Republic (42 contestants)
Israel (41 contestants)
Pakistan (38 contestants)
Portugal (38 contestants)
Switzerland (34 contestants)
New Zealand (33 contestants)
Peru (33 contestants)
Sweden (31 contestants)
Venezuela (28 contestants)
Croatia (26 contestants)
Denmark (25 contestants)
Belgium (24 contestants)
Chile (22 contestants)
Kazakhstan (22 contestants)
Lithuania (22 contestants)
Sri Lanka (20 contestants)
Finland (19 contestants)
Austria (18 contestants)
Greece (18 contestants)
Philippines (18 contestants)
Estonia (17 contestants)
Latvia (17 contestants)
Lebanon (17 contestants)
Georgia (16 contestants)
Macedonia (16 contestants)
Serbia (16 contestants)
Moldova (9 contestants)
Norway (9 contestants)
Jordan (8 contestants)
Malaysia (8 contestants)
Morocco (8 contestants)
Bolivia (7 contestants)
Guatemala (7 contestants)
Kenya (7 contestants)
Slovenia (7 contestants)
Armenia (6 contestants)
Dominican Republic (6 contestants)
Palestinian Territory (6 contestants)
Uruguay (6 contestants)
Bosnia and Herzegovina (4 contestants)
Ireland (4 contestants)
Nigeria (4 contestants)
United Arab Emirates (4 contestants)
Ghana (3 contestants)
Saudi Arabia (3 contestants)
Albania (2 contestants)
Algeria (2 contestants)
Azerbaijan (2 contestants)
Costa Rica (2 contestants)
Oman (2 contestants)
Uzbekistan (2 contestants)
Angola (1 contestant)
Barbados (1 contestant)
Bermuda (1 contestant)
Congo (1 contestant)
Ecuador (1 contestant)
Ethiopia (1 contestant)
Iceland (1 contestant)
Madagascar (1 contestant)
Malta (1 contestant)
Namibia (1 contestant)
Nicaragua (1 contestant)
Paraguay (1 contestant)
Puerto Rico (1 contestant)
Rwanda (1 contestant)
St Vincent & Grenadines (1 contestant)
Tunisia (1 contestant)
U.S. Virgin Islands (1 contestant)
Uganda (1 contestant)
Zimbabwe (1 contestant)