Pictures with Kittens (hard version)

Problem Name:
Pictures with Kittens (hard version)
Site:CodeForces
Links:
Tags:
Problem setters: