CodingReported in a candidate post, Aug 2020
Sum of elements divisible by B[i]
Filed under Curefit
The question
Given two arrays A and B, output an array such that for every element of B, you put the sum of all elements in A which are divisible by B[i].
No write-up yet. Related questions below have one.
Related Curefit questions
Collected from public candidate posts and coding forums. Updated Nov 2026.