Sum up the largest

Computer Science Level pending

Given s s the sum of the digits, and d d the number of digits it is required to find the largest number that satisfies the condition.

The text contains lines of spaced integers ( d , s ) (d, s) . What is sum of the return values of each line?

Details and Assumptions :

  • For d = 2 d=2 and s = 9 s=9 we get 90.

  • For d = 3 d=3 and s = 8 s=8 we get 800.


The answer is 7652828360.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

0 solutions

No explanations have been posted yet. Check back later!

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...