Update 二叉树重构.cpp

Use substr-method to rewrite the code.