Round 3: Dire Straights

338 correct small sets and 267 correct large sets. View problem statement or contest analysis.

Compact solutions

Solved in...

C++ (478 sets)
Java (74 sets)
Python (17 sets)
C# (14 sets)
C (8 sets)
Pascal (6 sets)
D (2 sets)
Haskell (2 sets)
OCaml (2 sets)
Ruby (2 sets)

Submission Origin

China (73 contestants)
Russia (69 contestants)
Poland (22 contestants)
Japan (21 contestants)
Ukraine (20 contestants)
United States (18 contestants)
Taiwan (15 contestants)
Belarus (9 contestants)
South Korea (7 contestants)
Vietnam (7 contestants)
Slovakia (6 contestants)
Australia (5 contestants)
Hong Kong (5 contestants)
Croatia (4 contestants)
Argentina (3 contestants)
Bangladesh (3 contestants)
Brazil (3 contestants)
Canada (3 contestants)
Georgia (3 contestants)
Germany (3 contestants)
Thailand (3 contestants)
France (2 contestants)
Greece (2 contestants)
Hungary (2 contestants)
India (2 contestants)
Iran (2 contestants)
Latvia (2 contestants)
Serbia (2 contestants)
South Africa (2 contestants)
United Kingdom (2 contestants)
Bulgaria (1 contestant)
Czech Republic (1 contestant)
Finland (1 contestant)
Indonesia (1 contestant)
Kazakhstan (1 contestant)
Kyrgyzstan (1 contestant)
Lithuania (1 contestant)
Malaysia (1 contestant)
Mexico (1 contestant)
New Zealand (1 contestant)
Norway (1 contestant)
Romania (1 contestant)
Singapore (1 contestant)
Slovenia (1 contestant)
Spain (1 contestant)
Sri Lanka (1 contestant)
Sweden (1 contestant)
Syria (1 contestant)