Avoid Local Maximums

Problem Name:
Avoid Local Maximums
Site:CodeForces
Links:
Tags:
Problem setters: