Vampiric Powers, anyone?

Problem Name:
Vampiric Powers, anyone?
Site:CodeForces
Links:
Tags:
Problem setters: