Mysterious Photos

Problem Name:
Mysterious Photos
Site:CodeForces
Links:
Tags:
Problem setters: