Create pat_1018.cpp