Round 3: Fence

250 correct small sets and 77 correct large sets. View problem statement or contest analysis.

Compact solutions

Solved in...

C++ (277 sets)
Java (36 sets)
Python (4 sets)
C# (3 sets)
Pascal (3 sets)
C (2 sets)
Haskell (2 sets)

Submission Origin

China (55 contestants)
Russia (50 contestants)
Poland (21 contestants)
Ukraine (21 contestants)
Japan (16 contestants)
Belarus (10 contestants)
United States (10 contestants)
South Korea (8 contestants)
Hong Kong (6 contestants)
Canada (5 contestants)
Brazil (4 contestants)
Bulgaria (4 contestants)
Slovakia (4 contestants)
Vietnam (4 contestants)
Bangladesh (3 contestants)
Thailand (3 contestants)
Argentina (2 contestants)
Georgia (2 contestants)
Spain (2 contestants)
Sweden (2 contestants)
Taiwan (2 contestants)
United Kingdom (2 contestants)
Denmark (1 contestant)
Germany (1 contestant)
India (1 contestant)
Indonesia (1 contestant)
Iran (1 contestant)
Kazakhstan (1 contestant)
Latvia (1 contestant)
Lithuania (1 contestant)
Malaysia (1 contestant)
Netherlands (1 contestant)
Norway (1 contestant)
Romania (1 contestant)
South Africa (1 contestant)
Switzerland (1 contestant)