Deactivation Code
CodeChefOpen on judge ↗
Ram has created a special type of virus which can block the sim number. To start the sim again victim needs to find the deactivation code of virus using their sim number only. The technique to find the deactivation code is that multiply first 5 digits of sim number with the digit which is five places away from the multiplier and add them. For Example. 9412356780 is the number which is blocked by
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