小dp
呆呆萝莉控
萌新拜见各方大佬
展开
-
【中石油OJ-5623】 Division into Two
题目描述There is a set consisting of N distinct integers. The i-th smallest element in this set is Si. We want to divide this set into two sets, X and Y, such that:The absolute difference of any two disti...原创 2018-04-27 12:27:15 · 249 阅读 · 0 评论 -
【ZOJ-4027】 Sequence Swapping(2018浙江省赛-D题)
BaoBao has just found a strange sequence {<s1,v1>, <s2,v2>, ... <sn,vn>} of length n in his pocket. As you can see, each element <si,vi> in the sequence is an ordered pair, whe...原创 2018-04-29 21:12:17 · 2300 阅读 · 3 评论