← All problemsSign in

Movie with Roopesh

###Story: Roopesh had a plan of watching a movie with his friends He was late to the movie-theater as he was solving an interesting problem. Can you also solve the same problem? ###Problem: You are given a very big number(105 digits in the worst case) in Base 10 representation. You have to find out the number of sub-sequences of digits which are divisible by 4. As the answer would be very large

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