結果 : diamond problem solution in cpp