摘要:
int hammingWeight(uint32_t n) { int count=0; while(n) { if(n & 1) count++; n >>= 1; } return count; } 阅读全文
posted @ 2020-09-15 12:31
温暖了寂寞
阅读(115)
评论(0)
推荐(0)
摘要:
int compare(const void* a, const void* b) { return *(int*)a > *(int*)b; } int numberOfBoomerangs(int** points, int pointsSize, int* pointsColSize) { i 阅读全文
posted @ 2020-09-15 11:58
温暖了寂寞
阅读(222)
评论(0)
推荐(0)

浙公网安备 33010602011771号