USACO hamming