Question: QUESTION Integer Tuples Computation ( CodeRush January' 2 4 ) Time Limit: 2 , Memory Limit 1 2 8 0 0 0 For a positive
QUESTION
Integer Tuples Computation CodeRush January'
Time Limit: Memory Limit
For a positive integer let function be defined as the number of tuples of positive integers that satisfy the equation
Given a two integers I and compute
Formally, for two given integers I and compute the sum of for all
Input
The first line of the input contains a single integer the number of test cases.
The following lines each contain two integers I and r each, where the i th pair denotes the i th test case.
Constraints:
for each test case
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
