The c code as amol had suggested.

http://www.ideone.com/GP7O8

On Sun, Jul 31, 2011 at 6:55 PM, saurabh modi
<saurabhmodi102...@gmail.com>wrote:

> you can read up the 
> http://en.wikipedia.org/wiki/Negative_base#Calculationpart on the wiki page
> http://en.wikipedia.org/wiki/Negative_base
>
> its explained quite effectively.
>
>  --
> 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.
>



-- 
Saurabh Singh
B.Tech (Computer Science)
MNNIT ALLAHABAD

-- 
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