Update p_23.cpp