added cpp problem1