Update pat_1049.cpp