Update p114.cpp