Attraction Score

Problem Name:
Attraction Score
Site:CodeForces
Links:
Tags:
Problem setters: