The Diversity of the Library of Alexandria

Problem Name:
The Diversity of the Library of Alexandria
Site:CodeForces
Links:
Tags: