摘要: Find the total area covered by tworectilinearrectangles in a2Dplane.Each rectangle is defined by its bottom left corner and top right corner as shown ... 阅读全文
posted @ 2015-09-02 07:29 Hygeia 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 1、题目名称Ugly Number II(丑数2:找出第n个丑数)2、题目地址https://leetcode.com/problems/ugly-number-ii/3、题目内容英文:Write a program to find then-th ugly number.中文:写程序找出第n个丑数... 阅读全文
posted @ 2015-09-02 07:08 Hygeia 阅读(295) 评论(0) 推荐(0) 编辑
摘要: 题目:Write a program to check whether a given number is an ugly number.Ugly numbers are positive numbers whose prime factors only include 2, 3, 5. For e... 阅读全文
posted @ 2015-09-02 06:51 Hygeia 阅读(162) 评论(0) 推荐(0) 编辑