Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

Re:膜拜大神,可是没看懂啊。。!!!能否讲解一下。?

Posted by codinglover at 2010-11-18 15:34:55 on Problem 1220
In Reply To:膜拜大神,可是没看懂啊。。!!!能否讲解一下。? Posted by:20080216 at 2010-09-25 17:47:44
膜拜大神,代码写的好精简,深受启发,无以为报,只好说说我的理解。
其过程跟十进制转二进制一样,先将数除2,得出的余数为二进制的一位,大神将商直接保存在原来的数组里面。当长度为0,即商为0时,结束。其他进制之间的转换同理。

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator