Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:膜拜大神,可是没看懂啊。。!!!能否讲解一下。?In Reply To:膜拜大神,可是没看懂啊。。!!!能否讲解一下。? Posted by:20080216 at 2010-09-25 17:47:44 膜拜大神,代码写的好精简,深受启发,无以为报,只好说说我的理解。 其过程跟十进制转二进制一样,先将数除2,得出的余数为二进制的一位,大神将商直接保存在原来的数组里面。当长度为0,即商为0时,结束。其他进制之间的转换同理。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator