求两个集合交集 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; typedef long long ll; const ll MAX=98…… 题解列表 2018年11月13日 1 点赞 0 评论 727 浏览 评分:0.0
求两个集合交集 (Java代码) 摘要:解题思路:注意事项:参考代码:Scanner sc=new Scanner(System.in); int n=sc.nextInt(); int m=sc.nextInt…… 题解列表 2018年09月01日 1 点赞 0 评论 594 浏览 评分:0.0
求两个集合交集 (C语言代码) 摘要:解题思路: 先将集合A、B的元素升序排列,然后使用i,j两指针逐个比对集合A、B的元素取交集,结果也为升序。 示意图:(求交集C) 参考代码:#include<stdio.h> …… 题解列表 2018年08月22日 2 点赞 0 评论 2379 浏览 评分:9.9