adding example input and output for c++ code