← All problemsSign in

Laddu tries Math

Problem description. Chocu, Laddu's sister had given the Quark Scholastic Aptitude Test, this year. She was solving a problem and got stuck with it. She now has asked her brother, Laddu for help. Laddu does not seem to have a clue how to solve the problem. Please help him solve the problem. You are given n numbers, a1,a2,....,an and a prime number P. Count number of groups of numbers (b1,b2,..

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