Covering Problem ZCO

Can any body give some hints on how to solve this problem.

Same here and don’t paste code explain the solution.

I found this in the ZCO Discussion thread: http://discuss.codechef.com/questions/57517/zco-2015-discussion/57659

Hope this helps.