🔴 Riddle #155 of 240
A safe uses a 4-digit code with all digits different. A detective found these notes from earlier attempts — Guess 5396: 1 digit(s) correct and in the right place, 2 digit(s) correct but in the wrong place; Guess 0169: 0 digit(s) correct and in the right place, 3 digit(s) correct but in the wrong place; Guess 0798: 0 digit(s) correct and in the right place, 2 digit(s) correct but in the wrong place; Guess 2956: 1 digit(s) correct and in the right place, 2 digit(s) correct but in the wrong place. What is the code?
Think about it first. When you're ready:
9506
Checking all four-digit codes with distinct digits, only this one gives the stated exact and misplaced counts for every guess.