Update hw_06_1003.cpp