Squares and not squares

Problem Name:
Squares and not squares
Site:CodeForces
Links:
Tags:
Problem setters: