Social Distancing

The country of KhoaNali is structured as a giant road with $N (1 \leq N \leq 10^5)$ buildings on both sides, the northern buildings being houses and the southern buildings being workplaces. Each house has a unique label $h_i, (1 \leq h_i \leq N)$ and each workplace has a unique label $w_i, (1 \leq w_i \leq N)$


This is a companion discussion topic for the original entry at https://toph.co/p/social-distancing

please update the problem statement.

1 Like

Done. The problem statement has been updated. Equations should render correctly now.

1 Like