Bike ThiefDiscrete Mathematics Level 3
A bike thief notices that most people who use this lock only change one of the switches on the lock when they lock it, for example someone whose bike lock key is 4242 might be switched to 4272 or 9242 when they lock it.
The thief can try 1 new combination every 0.5 seconds. We'll assume this is because the thief has to change the switch and pull on the lock for a moment in order to try it.
He doesn't need to try the combination it was locked as; he knows it's already locked in the initial state.
What is the maximum amount of seconds the bike thief needs in order to crack the lock?
This is what the lock looks like: