摘要: Design an algorithm to find the kth number such that the only prime factors are 3,5 and 7方法一:a[i]=min{a[s1]*3,a[s2]*5,a[s3]*7};s1a[i-1],a[s2]*3>a[i-1]... 阅读全文
posted @ 2014-09-03 16:34 米其林轮船 阅读(160) 评论(0) 推荐(0) 编辑