Round 1A: Multi-base happiness

1955 correct small sets and 481 correct large sets. View problem statement or contest analysis.

Compact solutions

Solved in...

C++ (1377 sets)
Java (471 sets)
Python (207 sets)
C# (142 sets)
C (53 sets)
Ruby (42 sets)
Perl (37 sets)
Pascal (31 sets)
PHP (22 sets)
Haskell (13 sets)
Scala (6 sets)
Scheme (6 sets)
JavaScript (4 sets)
OCaml (4 sets)
Visual Basic (4 sets)
Lisp (3 sets)
F# (2 sets)
Groovy (2 sets)
MATLAB (2 sets)
Erlang (1 set)
Factor (1 set)
Shell (1 set)
Standard ML (1 set)

Submission Origin

China (450 contestants)
United States (372 contestants)
India (114 contestants)
Japan (114 contestants)
Brazil (95 contestants)
Russia (84 contestants)
Canada (56 contestants)
South Korea (54 contestants)
Taiwan (49 contestants)
Argentina (37 contestants)
Poland (34 contestants)
Egypt (32 contestants)
Australia (30 contestants)
Hong Kong (19 contestants)
Indonesia (19 contestants)
Mexico (17 contestants)
Thailand (17 contestants)
Ukraine (17 contestants)
Germany (16 contestants)
Hungary (15 contestants)
Singapore (15 contestants)
Kazakhstan (14 contestants)
United Kingdom (14 contestants)
Vietnam (14 contestants)
Belarus (13 contestants)
Colombia (13 contestants)
Italy (12 contestants)
Romania (12 contestants)
Peru (11 contestants)
Slovakia (11 contestants)
Spain (11 contestants)
Bangladesh (10 contestants)
Bulgaria (10 contestants)
Czech Republic (10 contestants)
Venezuela (9 contestants)
France (8 contestants)
Turkey (8 contestants)
Portugal (7 contestants)
Sri Lanka (7 contestants)
Israel (6 contestants)
Netherlands (6 contestants)
Croatia (5 contestants)
Lithuania (5 contestants)
New Zealand (5 contestants)
Belgium (4 contestants)
Estonia (4 contestants)
Finland (4 contestants)
Macedonia (4 contestants)
Morocco (4 contestants)
Sweden (4 contestants)
Switzerland (4 contestants)
Austria (3 contestants)
Latvia (3 contestants)
Lebanon (3 contestants)
Pakistan (3 contestants)
Serbia (3 contestants)
South Africa (3 contestants)
Armenia (2 contestants)
Chile (2 contestants)
Dominican Republic (2 contestants)
Greece (2 contestants)
Guatemala (2 contestants)
Moldova (2 contestants)
Norway (2 contestants)
Palestinian Territory (2 contestants)
Philippines (2 contestants)
Uruguay (2 contestants)
Congo (1 contestant)
Iceland (1 contestant)
Madagascar (1 contestant)
Malta (1 contestant)
Namibia (1 contestant)
Nigeria (1 contestant)
Puerto Rico (1 contestant)
Rwanda (1 contestant)
Saudi Arabia (1 contestant)
Slovenia (1 contestant)
U.S. Virgin Islands (1 contestant)
Uzbekistan (1 contestant)