Update single-number.cpp