[SRM272] HammingDistance by Yanzhe Chen