← All problemsSign in

Number Game

Let's denote d(n) as the number of divisors of a positive integer n. You are given three integers a, b and c. Your task is to calculate sum: ∑ (i=1) to a ∑ (j=1) to b ∑(k=1) to c d(i.j.k). Find the sum modulo 1073741824 (2^30). Input The first line contains three space-separated integers a, b and c Output Print a single integer — the required sum modulo 1073741824 (2^30). Constraints - 1 ≤

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