Round 2: Don't Break The Nile

685 correct small sets and 221 correct large sets. View problem statement or contest analysis.

Compact solutions

Solved in...

C++ (767 sets)
Java (92 sets)
Python (27 sets)
C# (6 sets)
Go (3 sets)
C (2 sets)
OCaml (2 sets)
Pascal (2 sets)
Ruby (2 sets)
D (1 set)
JavaScript (1 set)
Scala (1 set)

Submission Origin

China (194 contestants)
Russia (109 contestants)
Japan (66 contestants)
United States (30 contestants)
Poland (29 contestants)
Taiwan (23 contestants)
Ukraine (20 contestants)
Belarus (16 contestants)
South Korea (15 contestants)
Germany (10 contestants)
Brazil (9 contestants)
Australia (8 contestants)
Croatia (8 contestants)
Slovakia (8 contestants)
Czech Republic (7 contestants)
Vietnam (7 contestants)
Bulgaria (6 contestants)
Canada (6 contestants)
Hong Kong (6 contestants)
Spain (6 contestants)
Argentina (5 contestants)
Hungary (5 contestants)
India (5 contestants)
Iran (5 contestants)
Kazakhstan (5 contestants)
Sweden (5 contestants)
United Kingdom (5 contestants)
Bangladesh (4 contestants)
Egypt (4 contestants)
Netherlands (4 contestants)
South Africa (4 contestants)
Thailand (4 contestants)
Belgium (3 contestants)
Finland (3 contestants)
Indonesia (3 contestants)
Latvia (3 contestants)
Lithuania (3 contestants)
Peru (3 contestants)
Romania (3 contestants)
Colombia (2 contestants)
Georgia (2 contestants)
Philippines (2 contestants)
Serbia (2 contestants)
Slovenia (2 contestants)
Switzerland (2 contestants)
Bolivia (1 contestant)
Denmark (1 contestant)
Estonia (1 contestant)
France (1 contestant)
Iceland (1 contestant)
Italy (1 contestant)
Jordan (1 contestant)
Mexico (1 contestant)
Mongolia (1 contestant)
New Zealand (1 contestant)
North Korea (1 contestant)
Norway (1 contestant)
Singapore (1 contestant)
Turkey (1 contestant)