码迷,mamicode.com
首页 >  
搜索关键字:unique paths ii    ( 12050个结果
119. Pascal's Triangle II
Given a non-negative index k where k ≤ 33, return the kth index row of the Pascal's triangle. Note that the row index starts from 0. In Pascal's trian ...
分类:其他好文   时间:2019-10-27 00:59:59    阅读次数:105
240. Search a 2D Matrix II
package LeetCode_240 /** * 240. Search a 2D Matrix II * https://leetcode.com/problems/search-a-2d-matrix-ii/description/ * * Write an efficient algori... ...
分类:其他好文   时间:2019-10-27 00:56:21    阅读次数:103
九、页面数据校验
以一个student学生表为例子 class Student(models.Model): name = models.CharField(verbose_name='名称',max_length=10) phone = models.CharField(max_length=11,unique=T ...
分类:其他好文   时间:2019-10-26 18:54:14    阅读次数:74
63. Unique Paths II
A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). The robot can only move either down or right at any p ...
分类:其他好文   时间:2019-10-26 15:17:26    阅读次数:95
VSCode使用
使用VSCode c_cpp_properties.json添加Include Paths Ctrl+Shift+P可以调出控制窗口再输入edit或者configuration,选择"C/Cpp:Edit Configurations":然后就出来了。 只有下面这一句是我添加的: 这个是配置路径使用 ...
分类:其他好文   时间:2019-10-25 20:26:32    阅读次数:77
多重背包优化
题目: https://www.acwing.com/problem/content/6/ 有 N 种物品和一个容量是 V 的背包。 第 ii 种物品最多有 si 件,每件体积是 vi,价值是 wi。 求解将哪些物品装入背包,可使物品体积总和不超过背包容量,且价值总和最大。输出最大价值。 输入格式 ...
分类:其他好文   时间:2019-10-25 20:24:51    阅读次数:58
vb.net 以读文本文件的方式对XML文件进行遍历
' 对XML文件按照文本文件的方式进行遍历 Private Sub checkFile_establishEntity(strFile As String) Dim reader AsTextReader = File.OpenText(strFile) ' 打开文件 Dim ii AsIntege ...
分类:Web程序   时间:2019-10-25 18:42:46    阅读次数:133
Django ORM 常用字段和参数
字段参数 null 用于表示某个字段可以为空。 unique 如果设置为unique=True 则该字段在此表中必须是唯一的 。 db_index 如果db_index=True 则代表着为此字段设置索引。 default 为该字段设置默认值。 DateField和DateTimeField aut ...
分类:其他好文   时间:2019-10-25 18:05:32    阅读次数:82
c++11多线程记录5: Unique Lock和延时初始化
https://www.youtube.com/user/BoQianTheProgrammer 视频网址 Unique Lock unique_lock和lock_guard类似,都是mutex的wrapper类,但是前者更加灵活 lock_guard没有unlock方法,unique_lock可 ...
分类:编程语言   时间:2019-10-25 18:03:06    阅读次数:98
Educational Codeforces Round 75 ABCD题解
A. Broken Keyboard Description 给出一串小写字母字符序列,连续出现两次的字母为坏掉的,按字典序输出所有没有坏掉的字母。 Solution 模拟暴力删除字母,注意相同字母的去重。 1 #include <algorithm> 2 #include <cctype> 3 # ...
分类:其他好文   时间:2019-10-25 17:57:47    阅读次数:59
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!