Problem Description Now I think you have got an AC in Ignatius.L's "Max Sum" problem. To be a brave ACMer, we always challenge ourselves to more difficult problems. Now you are faced with a more difficult problem. Given a consecutive number sequ…
Similar Subsequence Accepted : Submit : Time Limit : MS Memory Limit : KB Similar Subsequence For given sequence A=(a1,a2,…,an), a sequence S=(s1,s2,…,sn) has shape A if and only if: si=min{si,si+,…,sn} ; si=max{si,si+,…,sn} . Given sequence B=(b1,b2…