Count The Rectangles

Problem Name:
Count The Rectangles
Site:CodeForces
Links:
Tags:
Problem setters: