摘要:
``` #include int main() { int a,b; scanf("%d %d",&a, &b); printf("%d\n",a+b); return 0; } ``` 阅读全文
摘要:
``` public class Solution { public int threeSumClosest(int[] num, int target) { int result = num[0] + num[1] + num[num.length 1]; Arrays.sort(num); fo 阅读全文
摘要:
``` public class Solution { public List threeSum(int[] num) { Arrays.sort(num); List res = new LinkedList(); for (int i = 0; i 0 && num[i] != num[i 1] 阅读全文