DP !!!!
and a SPOJ Problem tooooo :)

http://www.spoj.pl/problems/MONONUM/


On Mon, Jan 24, 2011 at 3:55 PM, monu <monu.rath...@gmail.com> wrote:
> Dear All,
>
> Increasing integers can be defined as each of their digits is not greater
> than the digit to the right, and integers for which each digit is not lesser
> than the digit to the right as decreasing integers. For example 24558 is
> increasing, 888410 is decreasing and 5 - is both increasing and decreasing.
>
> Given n (no of digits) how to calculate the number of the decreasing n-digit
> integers to the increasing n-digit integers.
>
> For example:
> n=2
> inc. intergers = 45
> dec. intergers = 54
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to algogeeks@googlegroups.com.
> To unsubscribe from this group, send email to
> algogeeks+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to