Update pat_1003.cpp