String and Number
CodeChefOpen on judge ↗
You are given a string $s$. And you have a function $f(x)$ defined as: f(x) = 1, if $x$ is a vowel f(x) = 0, if $x$ is a constant Your task is to apply the above function on all the characters in the string s and convert the obtained binary string in decimal number $M$. Since the number $M$ can be very large, compute it modulo $10^9+7$. ###Input: - The first line of th
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