对于一个给定的 S={a_1,a_2,a_3,…,a_n}S={a1,a2,a3,…,an} ,若有 P={a_{x_1},a_{x_2},a_{x_3},…,a_{x_m}}P={ax1,ax2,ax3,…,axm} ,满足 (x_1<x_2<…<x_m)(x1<x2<…<xm)且 (a_{x_1}<a_{x_2}<…<a_{x_m})(