摘要: Description Input Output Sample Input Sample Output 解题思路: 首先我们考虑这个问题:给定两个序列A,B,和确定的数x,问是否存在i,j使满足A[i]+B[j]=x的?最快的方法是枚举A,然后在B中二分查找 x-A。现在回到这个问题,这道题给了三组 阅读全文
posted @ 2016-03-22 13:40 kiraa 阅读(303) 评论(0) 推荐(0) 编辑
摘要: Description Input Output Sample Input Sample Output 阅读全文
posted @ 2016-03-22 00:05 kiraa 阅读(508) 评论(0) 推荐(0) 编辑