摘要: [Codeforces 1208D]Restore Permutation (树状数组) 题面 有一个长度为n的排列a。对于每个元素i,$s_i$表示$\sum_{j=1,a_j include include include include define maxn 200000 using nam 阅读全文
posted @ 2019-08-27 16:01 birchtree 阅读(316) 评论(0) 推荐(0) 编辑