Bonuses and Teleports

Problem Name:
Bonuses and Teleports
Site:CodeForces
Links:
Tags:
Problem setters: