Break a safe
Created on Oct. 2, 2020 by Julien Palard
You found a safe. There's a numeric keypad on it...
The keypad is dirty, thanks to this you can easily spot that numbers
1
, 5
, and 8
are frequently used. It's so clear that you guess no
other digit is in use in this code.
Write a script printing all combinations of 4
digits that use all of
those used digits.
Output one combination per line, separate digits using spaces, so your output should look like:
1 2 3 4 |
|
There's no corrections yet, hit the `Submit` button to send your code to the correction bot.
Keyboard shortcuts:
- Ctrl-Enter: Send your code to the correction bot.
- Escape: Get back to the instructions tab.