Round 2: Many Prizes

1150 correct small sets and 939 correct large sets. View problem statement or contest analysis.

Compact solutions

Solved in...

C++ (1514 sets)
Java (250 sets)
Python (212 sets)
C# (35 sets)
C (20 sets)
Pascal (17 sets)
Haskell (15 sets)
D (6 sets)
OCaml (3 sets)
Ruby (3 sets)
Clojure (2 sets)
Dart (2 sets)
Go (2 sets)
JavaScript (2 sets)
Lua (2 sets)
Perl (1 set)
PHP (1 set)

Submission Origin

China (259 contestants)
Russia (172 contestants)
Japan (92 contestants)
United States (68 contestants)
Poland (50 contestants)
Ukraine (47 contestants)
Taiwan (39 contestants)
Belarus (31 contestants)
South Korea (29 contestants)
Canada (24 contestants)
India (21 contestants)
Hong Kong (16 contestants)
Indonesia (15 contestants)
Netherlands (14 contestants)
Vietnam (14 contestants)
Australia (13 contestants)
Brazil (13 contestants)
Egypt (13 contestants)
Slovakia (13 contestants)
Argentina (11 contestants)
France (10 contestants)
Germany (10 contestants)
Iran (10 contestants)
Bangladesh (9 contestants)
Bulgaria (9 contestants)
Thailand (8 contestants)
Czech Republic (7 contestants)
Romania (7 contestants)
Switzerland (7 contestants)
Croatia (6 contestants)
Israel (6 contestants)
Latvia (6 contestants)
Philippines (6 contestants)
Spain (6 contestants)
United Kingdom (6 contestants)
Belgium (5 contestants)
Georgia (5 contestants)
Hungary (5 contestants)
Singapore (5 contestants)
Sweden (5 contestants)
Lithuania (4 contestants)
Peru (4 contestants)
Greece (3 contestants)
Italy (3 contestants)
Kazakhstan (3 contestants)
New Zealand (3 contestants)
South Africa (3 contestants)
Turkey (3 contestants)
Denmark (2 contestants)
Dominican Republic (2 contestants)
Finland (2 contestants)
Kyrgyzstan (2 contestants)
Lebanon (2 contestants)
Norway (2 contestants)
Portugal (2 contestants)
Serbia (2 contestants)
Slovenia (2 contestants)
Sri Lanka (2 contestants)
Venezuela (2 contestants)
Austria (1 contestant)
Bolivia (1 contestant)
Colombia (1 contestant)
Estonia (1 contestant)
Ghana (1 contestant)
Mexico (1 contestant)
Moldova (1 contestant)
Mongolia (1 contestant)
Pakistan (1 contestant)
Tuvalu (1 contestant)