Question: i have provided sample input and output. ip and op should match according to the question givemn Question 2 3 Max. score: 2 0 .
i have provided sample input and output. ip and op should match according to the question givemn Question
Max. score:
Four functions
You are given four functions:
Number of i where and
Sum of where divides the number
Sum of exponents of each prime in the prime factorization of
If are prime factors of
then is dots
Sum of where
You are given an integer Your task is to find the value of Input format
First line: number of test cases
Each test case consists of an integer
Output format
For each test case, print a single integer denoting the value of
in a new line.
Input Constraints:
Sample input
Sample output
Explanation
For
So answer would be
Note:
Your code must be able to print the sample output from the provided sample
input. However, your code is run against multiple hidden test cases. Therefore.
your code must pass these hidden test cases to solve the problem statement.
Limits
Time Limit: for each input file
Memory Limit MB
Source Limit: KB
Scoring
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
