Combination Lock

Problem Name:
Combination Lock
Site:CodeForces
Links:
Tags:
Problem setters:
Login to view your/friends' submissions
Login to suggest tags