FIZZA and MAGICIAN
CodeChefOpen on judge ↗
Fizza is a cute girl and she wants to be more beautiful. So she approached a magician to increase her beauty magically. But the magician's glasses accidently got locked inside the locker and he forgot the password. Without glasses he can't help her. The password is hidden in N integers i.e. $a[1], a[2], ..... a[N]$ written on his magical stick.The password is the maximum number of moves Fiz
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