摘要: Description Given a sequence, {A1, A2, ..., An} which is guaranteed A1 > A2, ..., An, you are to cut it into three sub-sequences and reverse them sepa 阅读全文
posted @ 2018-07-25 18:54 Styx-ferryman 阅读(162) 评论(0) 推荐(0) 编辑
摘要: You've got an array consisting of n integers: a[1], a[2], ..., a[n]. Moreover, there are m queries, each query can be described by three integers li,  阅读全文
posted @ 2018-07-25 18:41 Styx-ferryman 阅读(322) 评论(0) 推荐(1) 编辑