Possible solutions under given constraints are :

Number       :: sum of non-zero digits
9000000000 :: 9
8800000000 :: 16
7770000000 :: 21
6666000000 :: 24
5555500000 :: 25*
4444440000 :: 24
3333333000 :: 21
2222222200 :: 16
1111111110 :: 9

5555500000 is the clear choice. No algorithm/code is needed.
Thank you,
Srirang Ranjalkar

-- 
" Luck is when hard work meets opportunity "


On Wed, Mar 16, 2011 at 10:35 PM, Gunjan Sharma <[email protected]>wrote:

> I dont understand why 5555500000 is an acceptable answer. What I understand
> from the problem is that each digit should tell te number of zeros following
> it which is not fulfilled by 5555500000. Please throw some light.
>
>
> On Wed, Mar 16, 2011 at 10:05 PM, Kunal Patil <[email protected]> wrote:
>
>> Does this problem require algorithmic approach, at all????
>> As per the problem statement i think answer can be deciphered manually and
>> many intelligent people have already given it...
>>
>>
>> On Wed, Mar 16, 2011 at 9:15 PM, anand karthik <
>> [email protected]> wrote:
>>
>>> Can anyone suggest an algorithmic approach?
>>> On Mar 16, 2011 9:08 PM, "annarao naidu kataru" <[email protected]>
>>> wrote:
>>> > i tried so many but the possible answer is 5555500000 as u said
>>> > thank u
>>> >
>>> > On Wed, Mar 16, 2011 at 8:08 PM, Gunjan Sharma <
>>> [email protected]>wrote:
>>> >
>>> >> 1111111110 what about this??
>>> >>
>>> >> --
>>> >> You received this message because you are subscribed to the Google
>>> Groups
>>> >> "Algorithm Geeks" group.
>>> >> To post to this group, send email to [email protected].
>>> >> To unsubscribe from this group, send email to
>>> >> [email protected].
>>> >> 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 [email protected].
>>> > To unsubscribe from this group, send email to
>>> [email protected].
>>> > 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 [email protected].
>>> To unsubscribe from this group, send email to
>>> [email protected].
>>> 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 [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/algogeeks?hl=en.
>>
>
>
>
> --
> Regards
> Gunjan Sharma
> Chairman IEEE Students Chapter IIT Roorkee
> B.Tech IV year CSE
>
> Contact No- +91 9997767077
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to