Update 299.cpp