Update 1018(2).cpp

formation change