← All problemsSign in

DIGIT PROBLEM EASY

Chef is playing a game. For some reason he likes $7$ and hates $0$ . So he starts from an integer $L$ if he finds $7$ on the digit of this number and it does not contain $0$ he considered it as magical number. He continues upto $R$. He plays the game for $N$ times. Can you help the chef to find how many magical number exists in the range $L$ to $R$. ###Input: - First line will contain $N

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