摘要:
HDOJ 4334 Trouble If we have two sorted lists of integers A and B, we can easily find in linear time by keeping two pointers if there are a in A and b in B such that a+b=c (c is given). Now, for this problem, we create a sorted list of all sums for S[0] and S[1] (call it M[0]), and a sorted list o.. 阅读全文
posted @ 2012-08-30 11:54
芒果布丁
阅读(226)
评论(0)
推荐(0)

浙公网安备 33010602011771号