Update 045.cpp