Problem 1004 NPY must visit all girls in [L,R]?

suiyuan2009 | 2014-12-13 19:41:55Author
RT
admin | 2014-12-13 19:42:05# 1
RE:NPY must visit all girls in [L,R]?
yes.
suiyuan2009 | 2014-12-13 19:46:16# 2
RE:NPY must visit all girls in [L,R]?
so in the first sample,it is just one way to visit [1,3],class 1,2,1
admin | 2014-12-13 19:49:00# 3
RE:NPY must visit all girls in [L,R]?
112,211
suiyuan2009 | 2014-12-13 19:49:35# 4
RE:NPY must visit all girls in [L,R]?
I get what you mean.