Round 1A: Make it Smooth

509 correct small sets and 319 correct large sets. View problem statement or contest analysis.

Compact solutions

Solved in...

C++ (682 sets)
Java (88 sets)
Python (20 sets)
C (13 sets)
Pascal (11 sets)
C# (6 sets)
Haskell (4 sets)
Perl (2 sets)
Ruby (2 sets)

Submission Origin

China (181 contestants)
Russia (47 contestants)
Japan (31 contestants)
United States (29 contestants)
Taiwan (17 contestants)
Poland (16 contestants)
Brazil (15 contestants)
South Korea (15 contestants)
Ukraine (14 contestants)
Canada (11 contestants)
India (11 contestants)
Belarus (8 contestants)
Indonesia (8 contestants)
Argentina (7 contestants)
Bangladesh (6 contestants)
Hong Kong (6 contestants)
Vietnam (6 contestants)
Thailand (5 contestants)
Australia (4 contestants)
Colombia (4 contestants)
Egypt (4 contestants)
Israel (4 contestants)
Norway (4 contestants)
Singapore (4 contestants)
Bulgaria (3 contestants)
Georgia (3 contestants)
Latvia (3 contestants)
Netherlands (3 contestants)
Spain (3 contestants)
United Kingdom (3 contestants)
Austria (2 contestants)
France (2 contestants)
Germany (2 contestants)
Hungary (2 contestants)
Mexico (2 contestants)
New Zealand (2 contestants)
Romania (2 contestants)
Slovakia (2 contestants)
Sweden (2 contestants)
Armenia (1 contestant)
Bolivia (1 contestant)
Croatia (1 contestant)
Cuba (1 contestant)
Denmark (1 contestant)
Finland (1 contestant)
Iran (1 contestant)
Italy (1 contestant)
Kazakhstan (1 contestant)
Kyrgyzstan (1 contestant)
Lithuania (1 contestant)
Malaysia (1 contestant)
Peru (1 contestant)
Sri Lanka (1 contestant)
U.S. Virgin Islands (1 contestant)
Venezuela (1 contestant)