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:逛论坛的朋友帮忙指点一下:给定一个数,求一个最小的base,使得该数的成为回文数

Posted by infiniti at 2009-12-10 14:29:23
In Reply To:逛论坛的朋友帮忙指点一下:给定一个数,求一个最小的base,使得该数的成为回文数 Posted by:ljfljf2007 at 2009-12-10 13:49:11
> 给定一个数,求一个最小的base,使得该数的成为回文数
> 
> sample
> in:
> 2
> 3
> 25
> 30
> out:
> 3
> 2
> 4
> 9
> 说明
> 2的3进制表示是2
> 3的2进制表示是11
> 25的24进制表示是121
> 30的9进制表示是33
> 
> 关于这个问题,大家有什么好的解法?如果枚举,是否有什么好的剪枝?

can u send in english. Sorry i dont know this language. Really Sorry..

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