0_0_10668496_8653.cpp: In function `void buildAC()': 0_0_10668496_8653.cpp:52: error: `p' undeclared (first use this function) 0_0_10668496_8653.cpp:52: error: (Each undeclared identifier is reported only once for each function it appears in.)