
trie
lqybzx
123
展开
-
2016多校训练Contest9: 1002 Best Division hdu5845
Problem DescriptionYou are given an array A, consisting of N integers.You are also given 2 integers K and L.You must divide the whole array A into exactly K nonempty intervals, such that t原创 2016-08-17 00:22:44 · 943 阅读 · 4 评论 -
2017多校训练Contest3: 1004 Kanade's sum hdu6059
Problem DescriptionGive you an array A[1..n],you need to calculate how many tuples (i,j,k) satisfy that (ijk) and ((A[i] xor A[j])(A[j] xor A[k]))There are T test cases.1≤T≤201≤∑n≤原创 2017-08-16 16:01:20 · 283 阅读 · 0 评论