HACK PASS
CodeChefOpen on judge ↗
Chef is a good hacker and successfully retrieves the N-digit password of his teachers. Password has a unique property that none of its digit is repeated. After retrieval one of his mischievous friend changed some of the digits of the password. Print "$correct$" for the passwords that still has the unique property and "$incorrect$" for the passwords that do not. ###Input: - First line will conta
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start