Superstitious
CodeChefOpen on judge ↗
Rahul is very superstitious. Rahul's lucky number is X and Rahul wants that JR. Rahul Roll Number must be X. Therefore while going to a school for admission of JR. Rahul. He asked the Principal that he wants JR Rahul's Roll No. must be X. The principal is also superstitious and asked to change his Son's name According to the Admission Policy. Rahul called you to name his Son through which he c
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