Update 2.5.cpp

correct mistakes