1.1 cpp solution updated