Password
CodeChefOpen on judge ↗
Darian has a very poor memory. He can never remember any password he sets for his laptop which gets him into a lot of trouble. But the one thing he had, to save him was that he was good with numbers. He could calculate anything but then again he had a problem remembering a string of numbers. So he devised a way of not remembering a password but at the same time keeping his laptop secure. By this m
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