C++ version of Single Number