Not Adjacent Matrix

Problem Name:
Not Adjacent Matrix
Site:CodeForces
Links:
Tags:
Problem setters: