原题链接在这里:https://leetcode.com/problems/minimum-number-of-arrows-to-burst-balloons/ 题目: There are a number of spherical balloons spread in two-dimension ...
分类:
其他好文 时间:
2019-12-19 12:39:58
阅读次数:
72
"?? ?? ??" 题意:求点对中,满足要互达必须经过a,b两点的对数,图为无向连通图 若(x,y)要满足互达必须经过(a,b),反过来想, a必须通过b点到达y点:满足a b y; b必须通过a点到达x点:满足b a x,无向图:x a b; 连起来即为:x a b y; ...
分类:
其他好文 时间:
2019-12-19 00:07:17
阅读次数:
154
Choose two. You execute this command: TRUNCATE TABLE depts; Which two are true? A) It drops any triggers defined on the table. B) It retains the index ...
分类:
其他好文 时间:
2019-12-18 14:46:24
阅读次数:
132
原题链接在这里:https://leetcode.com/problems/squares-of-a-sorted-array/ 题目: Given an array of integers A sorted in non-decreasing order, return an array of t ...
分类:
其他好文 时间:
2019-12-18 11:01:21
阅读次数:
85
C.As Simple as One and Two A. As Simple as One and Two time limit per test 3 seconds memory limit per test 256 megabytes input standard input output s ...
分类:
其他好文 时间:
2019-12-17 22:13:12
阅读次数:
81
C# SortedDictionary SortedDictionary<string, string> dic = new SortedDictionary<string, string>(StringComparer.Ordinal); 定义的时候加上 StringComparer.Ordina ...
分类:
编程语言 时间:
2019-12-17 17:56:04
阅读次数:
114
一、定义 二、常用函数 stream的操作分为两类:中间操作和结束操作。 中间操作:就是流的中间状态,它是惰性操作,不立即执行,每次调用中间操作只是产生一个新的stream视图而已。 结束操作:流最后的执行结果。 常用的中间操作:filter(过滤),map(转换),sorted(排序),disti ...
分类:
编程语言 时间:
2019-12-17 00:35:55
阅读次数:
88
问题记录: C语言中,字符串是否可以通过连续的常量创建直接编辑拼接在一起? 比如下述语句赋值: const char *path = “this is string one” “this is string two”; 验证: 1 #include <stdio.h> 2 3 #define AVA ...
分类:
编程语言 时间:
2019-12-16 22:06:24
阅读次数:
161
原题链接在这里:https://leetcode.com/problems/intersection-of-three-sorted-arrays/ 题目: Given three integer arrays arr1, arr2 and arr3 sorted in strictly incre ...
分类:
其他好文 时间:
2019-12-16 10:07:17
阅读次数:
101
最近刷题进展尚可,但是形式变化了下,因为感觉眼睛会看瞎,所以好多写在纸上。本来想放到文件夹存储起来,但是太容易丢了,明天整理下,赶紧拍上来把 今晚是周末,这一周都在不停的学学学,我想下周怕是不能睡午觉了,中午回去床对我的诱惑太大了,我得想办法,一进门先把被褥收起来,再放个欢快的歌,中午少吃点,加油小 ...
分类:
其他好文 时间:
2019-12-16 09:32:01
阅读次数:
87