Final Round: Family Hotel

21 correct small sets and 11 correct large sets. View problem statement or contest analysis.

Compact solutions

Solved in...

C++ (28 sets)
Java (4 sets)

Submission Origin

Russia (5 contestants)
China (3 contestants)
Japan (2 contestants)
Poland (2 contestants)
South Korea (2 contestants)
Belarus (1 contestant)
Brazil (1 contestant)
France (1 contestant)
Georgia (1 contestant)
Philippines (1 contestant)
Sweden (1 contestant)
United States (1 contestant)