Show hint
Start with the clue that says nothing is correct, or the one with the most correct digits.
172: "One number is correct and well placed, and one number is correct but wrongly placed" → 42 codes left.
670: "One number is correct but wrongly placed" → 12 codes left.
267: "One number is correct but wrongly placed" → only 012 is left.
Check 012 against every clue: 670 gives one number is correct but wrongly placed; 267 gives one number is correct but wrongly placed; 172 gives one number is correct and well placed, and one number is correct but wrongly placed ✔
Answer: 012