2016年8月9日

263. Ugly Number

摘要: 1. 问题描述 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. 阅读全文

posted @ 2016-08-09 22:21 whl-hl 阅读(101) 评论(0) 推荐(0) 编辑

202. Happy Number

摘要: 1. 问题描述 Write an algorithm to determine if a number is "happy".A happy number is a number defined by the following process: Starting with any positive 阅读全文

posted @ 2016-08-09 22:07 whl-hl 阅读(97) 评论(0) 推荐(0) 编辑

导航