Round 2: Elegant Diamond

540 correct small sets and 472 correct large sets. View problem statement or contest analysis.

Compact solutions

Solved in...

C++ (768 sets)
Java (131 sets)
C# (30 sets)
Python (29 sets)
Pascal (18 sets)
Haskell (14 sets)
C (12 sets)
F# (2 sets)
OCaml (2 sets)
Perl (2 sets)
Ruby (2 sets)
Visual Basic (2 sets)

Submission Origin

China (138 contestants)
Russia (88 contestants)
Japan (42 contestants)
Poland (34 contestants)
Ukraine (30 contestants)
United States (26 contestants)
South Korea (22 contestants)
Taiwan (15 contestants)
Belarus (10 contestants)
United Kingdom (9 contestants)
Argentina (8 contestants)
India (8 contestants)
Slovakia (7 contestants)
Vietnam (7 contestants)
Canada (6 contestants)
Indonesia (6 contestants)
Brazil (5 contestants)
France (5 contestants)
Thailand (5 contestants)
Australia (4 contestants)
Bulgaria (4 contestants)
Hungary (4 contestants)
Netherlands (4 contestants)
Romania (4 contestants)
Spain (4 contestants)
Croatia (3 contestants)
Kazakhstan (3 contestants)
Peru (3 contestants)
South Africa (3 contestants)
Bangladesh (2 contestants)
Colombia (2 contestants)
Finland (2 contestants)
Georgia (2 contestants)
Germany (2 contestants)
Hong Kong (2 contestants)
Italy (2 contestants)
Kyrgyzstan (2 contestants)
Latvia (2 contestants)
Lithuania (2 contestants)
New Zealand (2 contestants)
Bolivia (1 contestant)
Denmark (1 contestant)
Egypt (1 contestant)
Israel (1 contestant)
Mexico (1 contestant)
Norway (1 contestant)
Portugal (1 contestant)
Singapore (1 contestant)
Slovenia (1 contestant)
Sweden (1 contestant)
Switzerland (1 contestant)