Division + LCP (easy version)

Problem Name:
Division + LCP (easy version)
Site:CodeForces
Links:
Tags:
Problem setters: