摘要:
class Solution {public: int nthUglyNumber(int n) { if(n k(n); k[0] = 1; for(int i = 1; i =1 阅读全文
posted @ 2015-09-06 15:25
daijkstra
阅读(680)
评论(0)
推荐(0)
摘要:
https://leetcode.com/problems/h-index/class Solution {public: int hIndex(vector& citations) { priority_queue pq; for(int i=0;i= pages... 阅读全文
posted @ 2015-09-06 14:55
daijkstra
阅读(143)
评论(0)
推荐(0)