摘要: 直接看题吧,好累啊 这个题前面做着不难,后面如何判断不重复的三元组,是真的麻烦,由于现在还没学集合什么的,只能靠数组,二位又不会扩列,简直了!!! int[]nums = {-1,0,1,2,-1,-4,4}; int a = 0; int c = 0; int b =0; int []d = ne 阅读全文
posted @ 2022-07-22 20:35 牛杂刻师傅 阅读(30) 评论(0) 推荐(0)
摘要: 今天做了一个比较简单右比较难得的算法。 我靠,什么人能只用一个循环就搞定啊,大家都是人,脑子别这么强好嘛! 题如下: int []a = {1,3}; int m = a.length; int []b = {2,4}; int n = b.length; int []c = new int [m+ 阅读全文
posted @ 2022-07-22 16:38 牛杂刻师傅 阅读(21) 评论(0) 推荐(0)