STL& set[STL训练]{A} + {B} 摘要:# 使用STL库的`set`容器 > 自带去重和排序的功能,就不需要调用排序函数了 ```c++ #include #include #include #include usi…… 题解列表 2023年06月23日 0 点赞 0 评论 101 浏览 评分:0.0
[STL训练]{A} + {B},纯循环思路清晰 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; int main(){ // 定义变量a和b,以及数组c、d和e …… 题解列表 2024年11月11日 0 点赞 0 评论 78 浏览 评分:0.0
[STL训练]{A} + {B} 摘要:解题思路:很简单,自己看。注意事项:set头文件:#include<set> 定义: set<typename> name; 注意哦,set只能通过迭代器(iterator)访问:set<typen…… 题解列表 2022年02月27日 0 点赞 0 评论 182 浏览 评分:0.0
[STL训练]{A} + {B} (Java代码) 摘要:解题思路: set不重复序列的有序排列注意事项: 注意对象类型的转换参考代码:import java.util.Arrays; import java.util.HashSet; im…… 题解列表 2021年02月28日 0 点赞 0 评论 376 浏览 评分:0.0
太难了我不想打代码[STL训练]{A} + {B} 摘要:解题思路:set容器可以排序、去重、所以用它太几把合适了,先这样,在那样,最后那样,然后他妈的发现错了注意事项: 注意进厂时机!!!参考代码:#includeusing namespace s…… 题解列表 2023年06月07日 0 点赞 0 评论 107 浏览 评分:0.0
[STL训练]{A} + {B}(用STL中的set) 摘要:#用STL中的set求解 ```cpp #include using namespace std; int main() { sets; int tmp,s1; while(ci…… 题解列表 2021年05月13日 0 点赞 0 评论 267 浏览 评分:0.0
set集合的使用(插入与遍历) 摘要:#include<bits/stdc++.h> using namespace std; int main() { int n,m; while(cin>>n>>m) { ve…… 题解列表 2024年07月29日 0 点赞 0 评论 48 浏览 评分:0.0
Hifipsysta-2065-[STL训练]{A} + {B}(C++代码) 摘要:```cpp #include #include #include using namespace std; int main(){ int n, m, tmp; w…… 题解列表 2022年02月10日 0 点赞 0 评论 196 浏览 评分:0.0
编写题解 2065: [STL训练]{A} + {B} 摘要:解题思路:注意事项:参考代码:while True: try: n,m=map(int,input().split()) r=list(map(int,i…… 题解列表 2022年03月15日 0 点赞 0 评论 224 浏览 评分:0.0
题解 2065: [STL训练]{A} + {B} (C语言)我来写个C版本的吧,代码不如人家吊炸天,但是你能看懂 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> #include <stdlib.h> #include <math.h> //…… 题解列表 2021年03月24日 0 点赞 1 评论 287 浏览 评分:8.0