Fading into Fog

Problem Name:
Fading into Fog
Site:CodeForces
Links:
Tags:
Problem setters: