Create pat_1005.cpp