leetcode

Solution to some Leetcode problems written in C++
git clone git://git.dimitrijedobrota.com/leetcode.git
Log | Files | Refs | README | LICENSE

0461.cpp (112B)


0 class Solution { 1 public: 2 int hammingDistance(unsigned x, unsigned y) const { return popcount(x ^ y); } 3 };