Round 1B: The Bored Traveling Salesman

700 correct small sets and 189 correct large sets. View problem statement or contest analysis.

Compact solutions

Solved in...

C++ (635 sets)
Java (105 sets)
Python (84 sets)
C# (21 sets)
Ruby (7 sets)
Pascal (6 sets)
Scala (6 sets)
C (5 sets)
Go (5 sets)
Haskell (4 sets)
D (3 sets)
OCaml (3 sets)
JavaScript (1 set)
Lua (1 set)
Objective-C (1 set)
Perl (1 set)
WRAPL (1 set)

Submission Origin

China (97 contestants)
Russia (96 contestants)
United States (51 contestants)
Japan (37 contestants)
Ukraine (29 contestants)
Poland (28 contestants)
India (26 contestants)
Belarus (25 contestants)
Taiwan (21 contestants)
Slovakia (16 contestants)
South Korea (14 contestants)
Romania (13 contestants)
Indonesia (12 contestants)
Netherlands (12 contestants)
Germany (10 contestants)
Sweden (10 contestants)
Argentina (9 contestants)
Canada (9 contestants)
Iran (9 contestants)
Spain (9 contestants)
Bangladesh (8 contestants)
Brazil (8 contestants)
Egypt (8 contestants)
Vietnam (8 contestants)
Hong Kong (7 contestants)
Thailand (7 contestants)
United Kingdom (7 contestants)
Bulgaria (6 contestants)
Greece (6 contestants)
Finland (5 contestants)
France (5 contestants)
Italy (5 contestants)
Kazakhstan (5 contestants)
Serbia (5 contestants)
Armenia (4 contestants)
Croatia (4 contestants)
Latvia (4 contestants)
Australia (3 contestants)
Austria (3 contestants)
Belgium (3 contestants)
Bolivia (3 contestants)
Colombia (3 contestants)
Czech Republic (3 contestants)
Hungary (3 contestants)
Ireland (3 contestants)
Lithuania (3 contestants)
Philippines (3 contestants)
Singapore (3 contestants)
Slovenia (3 contestants)
South Africa (3 contestants)
Switzerland (3 contestants)
Israel (2 contestants)
Jordan (2 contestants)
Macedonia (2 contestants)
Mexico (2 contestants)
Mongolia (2 contestants)
Norway (2 contestants)
Portugal (2 contestants)
Venezuela (2 contestants)
Bosnia and Herzegovina (1 contestant)
Cuba (1 contestant)
Denmark (1 contestant)
New Zealand (1 contestant)
Peru (1 contestant)
Sri Lanka (1 contestant)
U.S. Virgin Islands (1 contestant)