Qualification Round: Dancing With the Googlers

12384 correct small sets and 10762 correct large sets. View problem statement or contest analysis.

Compact solutions

Solved in...

C++ (10011 sets)
Java (5017 sets)
Python (3554 sets)
C (1230 sets)
C# (1114 sets)
Ruby (468 sets)
PHP (404 sets)
Haskell (215 sets)
Perl (190 sets)
Pascal (159 sets)
Scala (101 sets)
JavaScript (94 sets)
MATLAB (74 sets)
Visual Basic (59 sets)
Go (47 sets)
OCaml (36 sets)
Lisp (34 sets)
Clojure (30 sets)
Groovy (30 sets)
F# (25 sets)
D (23 sets)
Lua (22 sets)
Objective-C (22 sets)
Scheme (13 sets)
Racket (11 sets)
Shell (11 sets)
CoffeeScript (7 sets)
PowerShell (7 sets)
ActionScript (6 sets)
AWK (6 sets)
Gosu (6 sets)
J (6 sets)
Basic (5 sets)
Erlang (5 sets)
Prolog (5 sets)
TCL (5 sets)
Brainfuck (4 sets)
Befunge (3 sets)
dc (3 sets)
Standard ML (3 sets)
Ada (2 sets)
APL (2 sets)
Clay (2 sets)
Dylan (2 sets)
Fortran (2 sets)
Julia (2 sets)
Kotlin (2 sets)
LOLCODE (2 sets)
mIRC (2 sets)
Octave (2 sets)
PL/SQL (2 sets)
SQL (2 sets)
WRAPL (2 sets)
gnuplot (1 set)
Haxe (1 set)
INTERCAL (1 set)
R (1 set)
Whenever (1 set)

Submission Origin

India (1815 contestants)
China (1721 contestants)
United States (1440 contestants)
Russia (573 contestants)
Japan (538 contestants)
Brazil (327 contestants)
Poland (292 contestants)
Canada (282 contestants)
Ukraine (273 contestants)
France (257 contestants)
Taiwan (246 contestants)
Egypt (239 contestants)
South Korea (238 contestants)
Australia (209 contestants)
Germany (190 contestants)
Spain (188 contestants)
United Kingdom (174 contestants)
Thailand (169 contestants)
Indonesia (164 contestants)
Hong Kong (121 contestants)
Romania (121 contestants)
Bangladesh (117 contestants)
Vietnam (113 contestants)
Hungary (106 contestants)
Italy (105 contestants)
Argentina (104 contestants)
Israel (96 contestants)
Belarus (94 contestants)
Colombia (84 contestants)
... (83 contestants)
Mexico (83 contestants)
Sweden (83 contestants)
Netherlands (80 contestants)
New Zealand (79 contestants)
Slovakia (78 contestants)
Singapore (76 contestants)
Greece (74 contestants)
South Africa (72 contestants)
Iran (71 contestants)
Bulgaria (62 contestants)
Croatia (57 contestants)
Czech Republic (55 contestants)
Belgium (52 contestants)
Portugal (51 contestants)
Sri Lanka (51 contestants)
Turkey (48 contestants)
Pakistan (47 contestants)
Venezuela (37 contestants)
Peru (36 contestants)
Lithuania (35 contestants)
Switzerland (33 contestants)
Austria (32 contestants)
Norway (31 contestants)
Morocco (29 contestants)
Kazakhstan (25 contestants)
Chile (24 contestants)
Denmark (24 contestants)
Georgia (23 contestants)
Slovenia (22 contestants)
Latvia (21 contestants)
Serbia (20 contestants)
Malaysia (19 contestants)
Tunisia (19 contestants)
Estonia (18 contestants)
Lebanon (18 contestants)
Philippines (18 contestants)
Finland (17 contestants)
Ireland (14 contestants)
Bolivia (13 contestants)
Macedonia (13 contestants)
Moldova (13 contestants)
Palestinian Territory (13 contestants)
Azerbaijan (12 contestants)
Mongolia (10 contestants)
Kenya (9 contestants)
Armenia (8 contestants)
Bosnia and Herzegovina (8 contestants)
Dominican Republic (8 contestants)
Nigeria (8 contestants)
Ghana (7 contestants)
Jordan (7 contestants)
Kyrgyzstan (7 contestants)
Ecuador (6 contestants)
Nepal (6 contestants)
Algeria (5 contestants)
Costa Rica (5 contestants)
Iceland (5 contestants)
Luxembourg (5 contestants)
Senegal (5 contestants)
Trinidad and Tobago (5 contestants)
Uruguay (5 contestants)
Cameroon (4 contestants)
Ethiopia (4 contestants)
Guatemala (4 contestants)
Madagascar (4 contestants)
Syria (4 contestants)
Togo (4 contestants)
Zimbabwe (4 contestants)
Albania (3 contestants)
Andorra (3 contestants)
Cuba (3 contestants)
Cyprus (3 contestants)
Paraguay (3 contestants)
United Arab Emirates (3 contestants)
Uzbekistan (3 contestants)
Benin (2 contestants)
Ivory Coast (2 contestants)
Kosovo (2 contestants)
Kuwait (2 contestants)
Malawi (2 contestants)
Malta (2 contestants)
Montenegro (2 contestants)
Namibia (2 contestants)
Nicaragua (2 contestants)
Puerto Rico (2 contestants)
Saint Kitts and Nevis (2 contestants)
Turkmenistan (2 contestants)
Yemen (2 contestants)
Afghanistan (1 contestant)
Congo (1 contestant)
Fiji (1 contestant)
Iraq (1 contestant)
Jamaica (1 contestant)
Macau (1 contestant)
Maldives (1 contestant)
Netherlands Antilles (1 contestant)
Rwanda (1 contestant)
Saudi Arabia (1 contestant)
Sierra Leone (1 contestant)
South Sudan (1 contestant)
Sudan (1 contestant)
Tuvalu (1 contestant)
U.S. Virgin Islands (1 contestant)
Vatican City (1 contestant)