归档 2017年2月12日

[LeetCode]Base 7

题目描述:

LeetCode 504. Base 7

Given an integer, return its base 7 string representation.

Example 1:

Input: 100
Output: "202"

Example 2:

Input: -7
Output: "-10"

Note: The input will be in range of [-1e7, 1e7].

题目大意:

给定一个整数,返回其7进制的字符串 ...

继续阅读

昨天

明天

归档