← All problemsSign in

EASY ONE

A number is a CYPHER number if Difference of sum of digit having odd index and multiplication of digit having even index is a Prime. You will be given a number and you need to find whether it is CYPHER number or not. ###INPUT Only a single Number $N$. ###OUTPUT Print "YES" if it is a CYPHER number else "NO" without Quotes. ###Note *Indexing starts with 1. ###Sample Input1 123 ###Sample Outpu

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start