原文:[LeetCode] 483. Smallest Good Base 最小的好基数

For an integer n, we call k gt agood baseof n, if all digits of n base k are . Now given a string representing n, you should return the smallest good base of n in string format. Example : Example : E ...

2017-03-26 06:08 3 5064 推荐指数:

查看详情

[LeetCode] Base 7 基数

Given an integer, return its base 7 string representation. Example 1: Example 2: Note: The input will be in range of [-1e7, 1e7 ...

Mon Feb 20 08:09:00 CST 2017 2 5213
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM