Game of the Rows

Problem Name:
Game of the Rows
Site:CodeForces
Links:
Tags:
Problem setters: