Show hint
Start with the clue that says nothing is correct, or the one with the most correct digits.
258: "Two numbers are correct and well placed" → 21 codes left.
708: "One number is correct and well placed, and one number is correct but wrongly placed" → 2 codes left: 058, 278
359: "Nothing is correct" (the digits 3, 5, 9 are not in the code) → only 278 is left.
Check 278 against every clue: 258 gives two numbers are correct and well placed; 359 gives nothing is correct; 708 gives one number is correct and well placed, and one number is correct but wrongly placed ✔
Answer: 278