二分
henucyt
这个作者很懒,什么都没留下…
展开
-
POJ - 2785 Values whose Sum is 0(二分暴力
Description The SUM problem can be formulated as follows: given four lists A, B, C, D of integer values, compute how many quadruplet (a, b, c, d ) ∈ A x B x C x D are such that a + b + c + d = 0 . I...原创 2018-08-05 16:24:14 · 144 阅读 · 0 评论 -
POJ - 3061 Subsequence (尺取法
题目链接 A sequence of N positive integers (10 < N < 100 000), each of them less than or equal 10000, and a positive integer S (S < 100 000 000) are given. Write a program to find the minimal ...原创 2018-08-17 11:17:08 · 464 阅读 · 0 评论