Find String in a Grid

Problem Name:
Find String in a Grid
Site:CodeForces
Links:
Tags:
Problem setters: