That is what I figured. What will you do?
]]>and it's a 0-99. Combo lock and 0-9 key pad but the pass word is 9 numbers
]]>Because of the 'special relationship across the pond' the Queen says it's ok for me to chip in here. What about the actual engineering aspects of this problem?
(i) Can you just, in the words of Michael Caine, "blow the bloody doors off"
(ii) Suppose I tried a combination lock number and got it right. Would there be any clue that I'd done that bit even though the other bit is still wrong? Because that reduces the problem loads and loads.
(iii) Do you have any safe breakers on board?
Bob
]]>I agree with bobbym.
I often agree with him too.
The numeric keypad only has 9 numbers on it, so the amount of combinations to try is only 150,994,944.
My calculation and soroban's is based on a 10 digit keypad. But the problem reads.
second is a key pad that consist of 9 numbers,
Mathsyperson who insists on reading questions thoroughly, is then quite correct.
Assumption is the mother of all foul ups
But since the OP had a typo on 1-99 when he meant 0 - 99, and due to the fact that I have never seen a nine digit numeric keypad I assumed he meant a ten digit keypad.
So Nfe789, which is it, a nine digit ( 1 - 9 ) or a 10 digit ( 0 - 9 )? Millions of years are at stake!
]]>. .
. .
. .
. .
. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . .. .
. . . . . . . . . . . . . ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
. .
.
]]>I've just saved you a few hundred million years!
]]>100^3 = 1 000 000 for the 3 number combination lock
430 467 210 for the numeric keypad.
The two together is 100^3 * 430 467 210 = 430 467 210 000 000 codes.
]]>That is even better, then there are
100^3 * 430 467 210 ( this underlined number is experimental ) = 430 467 210 000 000 codes. It will take approximately 1 228 502 311 years to crack it. Quite hopeless to stumble on it by trial and error, or a systematic try them all approach.
however the password are purposly generated in no relation to personal
Bravo! Glad to see the navy is doing a better job than the corporate sector!
]]>Everysecond I wish, there is a 3 minute wait time between incorrect entries
]]>Welcome to the forum!
choosing 3 numbers 1-99,
Just a minor problem you say that the first part of the lock is a combination lock with 3 numbers 1 - 99 but you show 0-0-0 / 0-0-0-0-0-0-0-0-0 as your first try. Should it not be 1-1-1 / 0-0-0-0-0-0-0-0-0?
You can tell your chief ( with respect of course ) that a trial and error approach is useless there are
(99^3) * 430 467 210 ( this underlined number is experimental ) = 417 681 903 395 790 possible codes. If you were to enter them at 1 per second it would take you 6 622 303 years to open it.
Rather than trying this brute force approach. If you know who set the password, in this case the numbers, try to crack it based on what you know about the man. He may have used his birthdate, lucky numbers, a badge number, his age, they may all be part of the code.
Remember, humans use passwords ( numbers or letters ) that are easy to remember. Do not rule out possibilities like 123 123 123 or 123 456 789 etc.