EMEA Semifinal: Rainbow Trees

71 correct small sets and 68 correct large sets. View problem statement or contest analysis.

Compact solutions

Solved in...

C++ (103 sets)
Java (28 sets)
C# (4 sets)
Python (4 sets)

Submission Origin

Russia (27 contestants)
Poland (12 contestants)
Ukraine (11 contestants)
Belarus (5 contestants)
Germany (3 contestants)
Netherlands (3 contestants)
Sweden (2 contestants)
Bulgaria (1 contestant)
Italy (1 contestant)
Portugal (1 contestant)
Romania (1 contestant)
Slovakia (1 contestant)
Spain (1 contestant)
Switzerland (1 contestant)
United Kingdom (1 contestant)