Prime Password
CodeChefOpen on judge ↗
Neo is the best BlackHat hacker in the world. He recieves a task to crack a 343 layer of security. After cracking 342 layers (WOW!), the last layer requires a password to be cracked. The password must be an 8-digit password, starting with 7, by placing digits x,y,z and so on such that 7x is prime, 7xy is prime, and so on. What will be the correct password? Input No Input Required... Output
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