scu oj 4443 Range Query (source :2015年四川省acm省赛)(*)
Range Query
frog has a permutation p(1),p(2),…,p(n) of {1,2,…,n}.
She also has m1+m2 records (ai,bi,ci) of
the permutation.
For 1≤i≤m1, (ai,bi,ci) means min{p(ai),p(ai+1),…,p(bi)}=ci;For
转载
2017-08-01 09:39:02 ·
279 阅读 ·
0 评论