码迷,mamicode.com
首页 >  
搜索关键字:set uid    ( 62275个结果
Set( 基于平衡二叉树实现)
基于平衡二叉树实现Set public class AVLTreeSet<E extends Comparable<E>> implements ISet<E> { private AVLTree<E,Object> avl; public AVLTreeSet(){ avl = new AVLTr ...
分类:其他好文   时间:2021-02-17 14:54:37    阅读次数:0
Java的封装继承和多态
封装 定义:属性私有private;get/set 目的 提高程序的安全性,保护数据 隐藏代码的实现细节 统一接口 提高系统的可维护性 代码 public class Student { //名字 private String name; //学号 private int id; //性别 priv ...
分类:编程语言   时间:2021-02-17 14:11:07    阅读次数:0
字典序最小最小割
#include<bits/stdc++.h> #define N 300010 using namespace std; #define int long long int h[N],nxt[N],v[N],w[N],s,t,dep[N],ec,p[N],n,a[N],b[N],c[N],f[N] ...
分类:其他好文   时间:2021-02-17 14:04:51    阅读次数:0
hashMap的四种遍历方式
hashMap的四种遍历方式 使用entrySet返回包含entry的Set集合再遍历 Map<String,String> map=new HashMap<>(); map.put("1","stu01"); map.put("2","stu02"); Set<Entry<String,Strin ...
分类:其他好文   时间:2021-02-16 12:33:39    阅读次数:0
指纹锁(STL--set)
set 其作用是去重,排序。 set常用操作: #include<set> //声明一个set容器 set<typename> s;//定义,typename为数据类型,假设定义了一个容器s //常用操作: s.insert(x);//将x插入set容器中,并自动排序,去重 s.find(value ...
分类:其他好文   时间:2021-02-16 12:32:19    阅读次数:0
翻译:《实用的Python编程》01_02_Hello_world
目录 | 上一节 (1.1 Python) | 下一节 (1.3 数字) 1.2 第一个程序 本节讨论有关如何创建一个程序、运行解释器和调试的基础知识。 运行 Python Python 程序始终在解释器中运行。 解释器是一个“基于控制台”的应用程序,通常从命令行 shell 启动。 python3 ...
分类:编程语言   时间:2021-02-16 12:31:49    阅读次数:0
CodeForces - 1242B 0-1 MST(求补图连通块个数)
题目链接 #题目大意 给你几条边,这些边是从完全图里删除掉的边,将一条边入删边之后的完全图的花费是1,问最小生成树的代价。 #解题思路 图中连通块的个数求出来了就有答案了,求补图连通块个数模板题。 #代码 const int maxn = 2e5+10; const int maxm = 1e5+1 ...
分类:其他好文   时间:2021-02-16 12:26:35    阅读次数:0
切换undo表空间
1、创建新的表空间 create undo tablespace undo_new datafile '/u01/oracle/oradata/yscsfhx/newundotbs01.dbf' size 5m; View Code 2、切换到新的Undo表空间上 alter system set ...
分类:其他好文   时间:2021-02-16 12:25:14    阅读次数:0
CentOS Install NMP
NMP = Nginx/MySQL/PHP Installation steps of the Nginx 我这里使用 v1.4.4 wget -c http://nginx.org/download/nginx-1.4.4.tar.gz install tar -zxvf nginx-1.7.4. ...
分类:其他好文   时间:2021-02-16 12:17:27    阅读次数:0
2020 BIT冬训-贪心 K - USB vs. PS/2 CodeForces - 762B
Problem Description Due to the increase in the number of students of Berland State University it was decided to equip a new computer room. You were gi ...
分类:其他好文   时间:2021-02-16 12:07:01    阅读次数:0
62275条   上一页 1 ... 63 64 65 66 67 ... 6228 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!