Update pat_1077.cpp