摘要: 1 #include<iostream> 2 #include<cstdio> 3 #include<cstring> 4 #include<algorithm> 5 using namespace std; 6 int c[50005],tr,tl,f[30][50005],a[50005],s, 阅读全文
posted @ 2020-02-01 15:41 Z-Y-Y-S 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 题目描述 You are given an array of nn integers a_{1}...\ a_{n}a1​... an​ . The cost of a subsegment is the number of unordered pairs of distinct indices w 阅读全文
posted @ 2020-02-01 15:39 Z-Y-Y-S 阅读(247) 评论(0) 推荐(0) 编辑