Round 1C: Part Elf

4137 correct small sets and 2991 correct large sets. View problem statement or contest analysis.

Compact solutions

Solved in...

C++ (3689 sets)
Python (1285 sets)
Java (1158 sets)
C (260 sets)
C# (257 sets)
Ruby (121 sets)
Haskell (74 sets)
Scala (56 sets)
Perl (25 sets)
PHP (24 sets)
JavaScript (21 sets)
OCaml (16 sets)
D (14 sets)
Lisp (11 sets)
MATLAB (11 sets)
Pascal (11 sets)
Groovy (9 sets)
Clojure (8 sets)
Go (8 sets)
Julia (6 sets)
Scheme (5 sets)
Dart (4 sets)
F# (4 sets)
FRACTRAN (4 sets)
Objective-C (4 sets)
R (4 sets)
Racket (4 sets)
Visual Basic (4 sets)
CoffeeScript (3 sets)
Factor (2 sets)
J (2 sets)
PowerShell (2 sets)
Shell (2 sets)
Cache (1 set)
PL/SQL (1 set)

Submission Origin

India (718 contestants)
China (620 contestants)
Russia (262 contestants)
United States (262 contestants)
Japan (213 contestants)
Ukraine (136 contestants)
Taiwan (135 contestants)
Poland (134 contestants)
France (126 contestants)
South Korea (120 contestants)
Germany (76 contestants)
Australia (72 contestants)
Canada (61 contestants)
Romania (56 contestants)
Hungary (52 contestants)
United Kingdom (51 contestants)
Brazil (47 contestants)
Indonesia (47 contestants)
Egypt (42 contestants)
Italy (42 contestants)
Hong Kong (40 contestants)
Thailand (40 contestants)
Belarus (39 contestants)
Vietnam (38 contestants)
Singapore (37 contestants)
Israel (33 contestants)
Turkey (32 contestants)
Netherlands (31 contestants)
Slovakia (31 contestants)
Spain (31 contestants)
Czech Republic (30 contestants)
Bangladesh (25 contestants)
Sweden (23 contestants)
Iran (22 contestants)
Switzerland (22 contestants)
Argentina (21 contestants)
South Africa (20 contestants)
Greece (19 contestants)
New Zealand (18 contestants)
Bulgaria (17 contestants)
Belgium (16 contestants)
Latvia (15 contestants)
Philippines (15 contestants)
Croatia (12 contestants)
Mexico (12 contestants)
Lithuania (11 contestants)
Sri Lanka (11 contestants)
Austria (10 contestants)
Kazakhstan (10 contestants)
Georgia (9 contestants)
Slovenia (9 contestants)
Colombia (8 contestants)
Denmark (8 contestants)
Finland (8 contestants)
Norway (8 contestants)
Uzbekistan (8 contestants)
Azerbaijan (7 contestants)
Lebanon (7 contestants)
Pakistan (7 contestants)
Portugal (7 contestants)
Estonia (6 contestants)
Moldova (6 contestants)
Morocco (5 contestants)
Venezuela (5 contestants)
Costa Rica (4 contestants)
Kyrgyzstan (4 contestants)
Malaysia (4 contestants)
Armenia (3 contestants)
Bolivia (3 contestants)
Cameroon (3 contestants)
Chile (3 contestants)
Ireland (3 contestants)
Jamaica (3 contestants)
Serbia (3 contestants)
Tunisia (3 contestants)
Algeria (2 contestants)
Cyprus (2 contestants)
Luxembourg (2 contestants)
Macau (2 contestants)
Macedonia (2 contestants)
Mongolia (2 contestants)
Nigeria (2 contestants)
North Korea (2 contestants)
Peru (2 contestants)
Zambia (2 contestants)
Afghanistan (1 contestant)
Albania (1 contestant)
Bosnia and Herzegovina (1 contestant)
Cuba (1 contestant)
Ethiopia (1 contestant)
Guernsey (1 contestant)
Iceland (1 contestant)
Kuwait (1 contestant)
Laos (1 contestant)
Liechtenstein (1 contestant)
Madagascar (1 contestant)
Martinique (1 contestant)
Monaco (1 contestant)
Tajikistan (1 contestant)
Tanzania (1 contestant)
Turkmenistan (1 contestant)
Tuvalu (1 contestant)
Uruguay (1 contestant)
Western Sahara (1 contestant)
Zimbabwe (1 contestant)