← All problemsSign in

Counting Zeroes

You are given an array of N integers(Indexed at 1) For the given array you have to answer some queries given later.The queries are of 2 types: 1)TYPE 1 -> 1 L R (where L and R are integers) For this query you have to calculate the product of elements of the array in the range L to R (both inclusive) and print the number of zeros at the end of the result. 2)TYPE 2-> 0 L R V (where L,R,V are in

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