Kevin and Combination Lock

Problem Name:
Kevin and Combination Lock
Site:CodeForces
Links:
Tags: