Round 3: De-RNG-ed

273 correct small sets and 179 correct large sets. View problem statement or contest analysis.

Compact solutions

Solved in...

C++ (377 sets)
Java (52 sets)
C# (6 sets)
Pascal (6 sets)
C (4 sets)
Python (3 sets)
Haskell (2 sets)
OCaml (2 sets)

Submission Origin

Russia (60 contestants)
China (43 contestants)
Ukraine (24 contestants)
Poland (20 contestants)
Japan (17 contestants)
Belarus (11 contestants)
South Korea (11 contestants)
United States (9 contestants)
Slovakia (8 contestants)
Canada (6 contestants)
Taiwan (6 contestants)
Brazil (5 contestants)
Hong Kong (4 contestants)
Vietnam (4 contestants)
Bangladesh (3 contestants)
Bulgaria (3 contestants)
India (3 contestants)
Argentina (2 contestants)
Georgia (2 contestants)
Germany (2 contestants)
Iran (2 contestants)
Peru (2 contestants)
United Kingdom (2 contestants)
Australia (1 contestant)
Bolivia (1 contestant)
Croatia (1 contestant)
Czech Republic (1 contestant)
Denmark (1 contestant)
Egypt (1 contestant)
Finland (1 contestant)
Indonesia (1 contestant)
Kazakhstan (1 contestant)
Kyrgyzstan (1 contestant)
Lithuania (1 contestant)
Malaysia (1 contestant)
Netherlands (1 contestant)
New Zealand (1 contestant)
Norway (1 contestant)
Portugal (1 contestant)
Romania (1 contestant)
Slovenia (1 contestant)
South Africa (1 contestant)
Spain (1 contestant)
Sweden (1 contestant)
Switzerland (1 contestant)
Thailand (1 contestant)
Venezuela (1 contestant)