1. CMD.mdb 1. 16<=>10 欲在cmd下转进制,自己搞加减乘除? 喝多了头疼死,算了 偷了把鸡,利用ping和set帮忙运算了一把 hoho,什么都不会,就会投机,巨人肩膀上一站,技术在那里? 用法: DxH 数字 例如: DxH 1234567 DxH 0x1234fd3 @ech ...
分类:
其他好文 时间:
2020-01-12 20:19:54
阅读次数:
97
/** * 63. Unique Paths II * https://leetcode.com/problems/unique-paths-ii/description/ * https://www.youtube.com/watch?v=8v-dX6ato_Y * */ class Soluti ...
分类:
其他好文 时间:
2020-01-12 15:31:32
阅读次数:
83
二叉树路径。题意是给一个二叉树,请输出从根节点遍历到每个最小的叶子节点的路径。例子 Example: Input: 1 / \ 2 3 \ 5 Output: ["1->2->5", "1->3"] Explanation: All root-to-leaf paths are: 1->2->5, ...
分类:
其他好文 时间:
2020-01-12 13:25:09
阅读次数:
71
原文: https://blog.csdn.net/kk185800961/article/details/48108309/ USE [DemoDB]GO CREATE TABLE [dbo].[TableUniqueKey]( id int not null, name varchar(20) ...
分类:
数据库 时间:
2020-01-11 20:31:43
阅读次数:
101
scanf正则表达式 scanf("%s",%[0 9])//读入的为0 9的字符,读到非0 9时即停止 scanf("%s",&[^\r\n])//加^意味着不读后面的字符,所以为读入知道读到换行符 (常用函数:m=unique(a,a+n) a;即去重,返回去重后最后一个元素位置;前提是数组有序 ...
分类:
其他好文 时间:
2020-01-11 13:37:20
阅读次数:
83
难点: 理解离散化 这个题目中构造一个长宽高都为1001的容器,然后离散化 分割为多个小方块 (离散化:将这一方块用一个坐标表示),每个方块要么是实心,要么是空心。 通过lower_bound函数找到unique去重后的数组下标去三维遍历标记实心,然后bfs。 在这里,每一个方块的表示仅通过离散化后 ...
分类:
其他好文 时间:
2020-01-10 20:29:06
阅读次数:
86
文章转自 快速开始 my.ini # possible values : production, development app_mode = development [paths] # Path to where grafana can store temp files, sessions, an ...
分类:
其他好文 时间:
2020-01-09 20:25:54
阅读次数:
80
Given an integer n, generate all structurally unique BST's (binary search trees) that store values 1 ... n. Example: Input: 3 Output: [ [1,null,3,2], ...
分类:
其他好文 时间:
2020-01-08 12:43:14
阅读次数:
72
Given n, how many structurally unique BST's (binary search trees) that store values 1 ... n? Example: Input: 3 Output: 5 Explanation: Given n = 3, the ...
分类:
其他好文 时间:
2020-01-07 13:18:06
阅读次数:
58