As you are leaving from your previous ordeal, you notice that another convict is being taken to a jail cell. As you watch the guard and the convict go to the cell, they start talking.
"You do realize your rights, right?" says the guard.
The convict replies, "The judge said something strange, but I didn't understand it. What was it?"
"You are free to go anytime you like," declares the guard, "as long as you fulfill the required conditions. In your case, your door is secured with a ten-digit lock. If you can guess the right number, you are free to go."
"That's easy," says the prisoner. " I can just keep guessing numbers until I guess the right one."
"Even so," says the guard, "it would take you a hundred years to find the right number at the rate of one per second. Of course, you can always look for the hints we give you." He then points at you and proceeds to tell the new prisoner about your imprisonment.
"In addition to the normal...amenities, you have a desk and a scientific calculator. Good luck." The guard walks away.
You stand there for a few minutes before you realize that you can go. As you turn to leave, you notice that the new prisoner is walking up behind you.
"Wow, this place is great!" he says. "I only had to input one number!"
What number did he try?
(In reply to Solution? Spoiler?
by Steve Herman)
3155760000 is what I came up with at first too (guessing one number per second for one hundred years). However, this answer assumes that the prisoner starts guessing at 1 - or 0000000001, since we're looking for a ten digit number. Since it's a combination lock, it's probably safe to assume that all those leading zeroes are allowed. If they weren't, though, and we were looking only for ten-digit numbers without leading zeroes, then the answer would be 4155760000.
Posted by Jyqm
on 2006-03-31 08:59:04