Final Round: Radioactive Islands

3 correct small sets and 1 correct large sets. View problem statement or contest analysis.

Compact solutions

Solved in...

C++ (4 sets)

Submission Origin

Belarus (1 contestant)
Russia (1 contestant)
United States (1 contestant)