摘要:
1 #include <iostream> 2 #include <stdio.h> 3 #include <string> 4 #include <memory> 5 #include <algorithm> 6 #include <initializer_list> 7 #include <me 阅读全文
posted @ 2023-03-08 11:12
xiazichengxi
阅读(29)
评论(0)
推荐(0)
摘要:
题意:给定一个包含 n 个整数的数组 nums 和一个目标值 target,判断 nums 中是否存在四个元素 a,b,c 和 d ,使得 a + b + c + d 的值与 target 相等?找出所有满足条件且不重复的四元组。 注意: 答案中不可以包含重复的四元组。 示例: 给定数组 nums 阅读全文
posted @ 2023-03-08 10:51
xiazichengxi
阅读(20)
评论(0)
推荐(0)

浙公网安备 33010602011771号