update c++ solution for Two-Sum-II