N-Dimensional Grid

Problem Name:
N-Dimensional Grid
Site:CodeForces
Links:
Tags:
Problem setters: