Time to live

Problem Name:
Time to live
Site:CodeForces
Links:
Tags:
Problem setters: