Sponsored
Use these hints if you're stuck. Try solving on your own first.
n is very small, how can we use that?
What shape is the region when two viruses intersect?
Solve with full IDE support and test cases