Update 297.cpp