Add problem 43 c++ solution