【leetcode】 Fraction_to_Recurring_Decimal
2015-02-28 22:01
141 查看
问题描述:
解析:
Given two integers representing the numerator and denominator of a fraction, return the fraction in string format. If the fractional part is repeating, enclose the repeating part in parentheses. For example, Given numerator = 1, denominator = 2, return "0.5". Given numerator = 2, denominator = 1, return "2". Given numerator = 2, denominator = 3, return "0.(6)".
解析:
相关文章推荐
- LeetCode - Fraction to Recurring Decimal
- LeetCode Fraction to Recurring Decimal
- [leetCode] Fraction to Recurring Decimal
- [C++]LeetCode: 82 Fraction to Recurring Decimal
- LeetCode(166) Fraction to Recurring Decimal
- Leetcode (没有转换long long类型) Fraction to Recurring Decimal
- LeetCode—*Fraction to Recurring Decimal
- [LeetCode] Fraction to Recurring Decimal
- Leetcode: Fraction to Recurring Decimal
- 【leetcode 哈希表】Fraction to Recurring Decimal
- 【LeetCode】Fraction to Recurring Decimal【Solution】
- [leetcode] Fraction to Recurring Decimal
- [leetcode]Fraction to Recurring Decimal
- LeetCode Fraction to Recurring Decimal
- Leetcode-Fraction to Recurring Decimal
- Leetcode#166 Fraction to Recurring Decimal
- leetcode[166] Fraction to Recurring Decimal
- LeetCode:Fraction to Recurring Decimal
- leetcode[166]Fraction to Recurring Decimal
- leetcode:Fraction to Recurring Decimal