Alternating Current

Problem Name:
Alternating Current
Site:CodeForces
Links:
Tags:
Problem setters: