← All problemsSign in

Neha and her love for Ice-creams

Neha wants an ice-cream. But her mother loves problem-solving. She promised Neha to give her an ice-cream only if she is able to solve the below mentioned problem. Can you help Neha win the ice-cream? There is an array A containing N elements. She needs to find the product of all the elements of the array. Since this number can be too large, Print your answer **modulo 1000000007**. ### Constraint

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