100% Guaranteed Results


Project Euler #16: Power digit sum Solved
$ 19.99
Category:

Description

5/5 – (1 vote)

This problem is a programming version of Problem 16 from projecteuler.net
and the sum of its digits is .
What is the sum of the digits of the number
Input Format
The first line contains an integer , i.e., number of test cases.
Next lines will contain an integer .
Constraints

Output Format
Print the values corresponding to each test case.
Sample Input

Sample Output

Explanation
, sum of digits is .
, sum of digits is .
, sum of digits is .

Reviews

There are no reviews yet.

Be the first to review “Project Euler #16: Power digit sum Solved”

Your email address will not be published. Required fields are marked *

Related products