← All problemsSign in

MATHS - find sum

Find sum of all the numbers that are multiples of 10 and are less than or equal to a given number "N". (quotes for clarity and be careful of integer overflow) Input Input will start with an integer T the count of test cases, each case will have an integer N. Output Output each values, on a newline. Constraints - 1 ≤ T ≤ 10 - 1 ≤ N ≤1000000000 Example Input: 1 10 Output: 10 Exp

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