码迷,mamicode.com
首页 >  
搜索关键字:unique paths    ( 5916个结果
Codeforces Round #602 (Div. 2, based on Technocup 2020 Elimination Round 3) B. Box 贪心
B. Box Permutation p is a sequence of integers p=[p1,p2,…,pn], consisting of n distinct (unique) positive integers between 1 and n, inclusive. For exa ...
分类:其他好文   时间:2019-11-25 00:18:54    阅读次数:91
springboot集成redis
1.配置文件如下 spring: # 热部署 devtools: restart: enabled: true #设置开启热部署 additional-paths: src/main/java #重启目录 exclude: WEB-INF/** freemarker: cache: false #页 ...
分类:编程语言   时间:2019-11-24 15:46:46    阅读次数:76
生成一个唯一的ID
方案: 一、UUID UUID(Universally Unique Identifier)是32个16进制数字,以连字号分为五段,形式为8-4-4-4-12的36个字符。其中32个字符和4个连字符' - ',一般我们使用的时候会将连字符删除 uuid.toString().replaceAll(" ...
分类:其他好文   时间:2019-11-24 00:01:05    阅读次数:102
Oracle系列十二 约束
约束是表级的强制规定有以下五种约束: NOT NULL UNIQUE PRIMARY KEY FOREIGN KEY CHECK 注意事项 如果不指定约束名 ,Oracle server 自动按照 SYS_Cn 的格式指定约束名 创建和修改约束: 可以在表级或列级定义约束 可以通过数据字典视图查看约 ...
分类:数据库   时间:2019-11-22 20:54:22    阅读次数:137
JPA 自动建表(4)- @Column
/** * @javax.persistence.Column(name="xxx",unique=false,nullable=true) 指定当前属性所要映射字段 * name 表中所对应字段的名称【默认值:与属性名一致】 * unique 该字段是否为唯一约束字段 【默认值 FALSE】 * ...
分类:其他好文   时间:2019-11-22 13:25:07    阅读次数:121
mac os 环境变量
mac os 环境变量 系统级别 /etc/profile /etc/paths 用户级别 ~/.bash_profile ~/.bash_login ~/.profile ~/.bashrc(同linux) 系统级别更为就是全局设置,不推荐 mac系统中推荐更改~/.bash_profile 格式 ...
分类:系统相关   时间:2019-11-22 12:00:59    阅读次数:73
MySQL数据库:数据完整性及约束的应用
数据完整性 1.域完整性: 匹配完整性:非空、缺省 字段/列 2.实体完整性: 匹配完整性:主键、唯一键 记录/行 3.引用完整性: 匹配完整性:外键 表与表之间 约束:constraint MySQL中的约束分类 主键:primary key 唯一键:unique 非空:not null 缺省:d ...
分类:数据库   时间:2019-11-22 00:45:49    阅读次数:63
LeetCode 1060. Missing Element in Sorted Array
原题链接在这里:https://leetcode.com/problems/missing-element-in-sorted-array/ 题目: Given a sorted array A of unique numbers, find the K-th missing number star ...
分类:其他好文   时间:2019-11-21 09:55:39    阅读次数:96
mysql-表关联和约束
表关联和约束表关系:一对一 字段设置不可重复unique一对多 普通外键关联多对多 中间表关联 创建表关联--外键:1create table 时,在最后面加入constraint name foreign key(ziduan) referncese 表(字段) 关联索引名 从表字段 主表字段2 ...
分类:数据库   时间:2019-11-19 14:17:42    阅读次数:92
mysql-索引
索引 主键索引: create table 的时候创建 primary key ,主键字段不允许重复,且不能为NULL(primary key自限制) KEY标志为 KEY 唯一索引(unique) :字段值不允许重复,但可为 NULL,KEY标志为 UNI 普通索引 :字段值无约束,KEY标志为 ...
分类:数据库   时间:2019-11-19 14:00:42    阅读次数:89
5916条   上一页 1 ... 50 51 52 53 54 ... 592 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!