摘要: I am going to open a whole new English Blog here. Most blogs here would be computer technologies, including computer graphics, algorithms, data structures, C++, game technology and so on. I used to ... 阅读全文
posted @ 2014-03-12 19:16 苏靖新 Bill Su 阅读(152) 评论(0) 推荐(0) 编辑
摘要: Ugly numbers are numbers whose only prime factors are 2, 3 or 5. The sequence1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, …shows the first 11 ugly numbers. By convention, 1 is included.Write a program to find and print the 150′th ugly number.METHOD 1 (Simple)Thanks to Nedylko Draganov for suggesting this sol 阅读全文
posted @ 2014-03-12 12:32 苏靖新 Bill Su 阅读(316) 评论(0) 推荐(0) 编辑