Update pat_1065.cpp