这套题。。难度不大,但是普遍都挺恶心的,还容易看错题意 A模拟 B贪心(别像我一样看错题目),注意细节较多,思路要清晰 If the receptionist would stop working within t minutes, he stops serving visitors (other ...
分类:
其他好文 时间:
2017-06-13 17:21:43
阅读次数:
150
mysql碰到了Ignoringquerytootherdatabase问题:root@support~]#mysql-root-p--socket=/tmp/mysql.sock
Enterpassword:
WelcometotheMySQLmonitor.Commandsendwith;or\g.
YourMySQLconnectionidis5
Serverversion:5.6.22-logSourcedistribution
Copyright(c)2000,2011,Oraclean..
分类:
数据库 时间:
2017-06-13 14:39:29
阅读次数:
229
http://blog.csdn.net/tammy_min/article/details/12854595 三、主要参数 这里要说的主要参数是ld工具的参数,也是在Other Linker Flags里常用到的参数。 1.-ObjC 当使用ObjC写的静态类别库(Objective-C stat ...
分类:
其他好文 时间:
2017-06-12 19:50:08
阅读次数:
158
Description Ivan is fond of collecting. Unlike other people who collect post stamps, coins or other material stuff, he collects software bugs. When Iv ...
分类:
其他好文 时间:
2017-06-12 16:19:29
阅读次数:
180
S3C6410X supports 32-bit physical address field and that address field can be seperated into two parts, one partis for memory, the other part is for p ...
分类:
其他好文 时间:
2017-06-12 14:46:30
阅读次数:
356
https://leetcode.com/problems/merge-two-binary-trees/#/description Given two binary trees and imagine that when you put one of them to cover the other ...
分类:
其他好文 时间:
2017-06-12 10:33:31
阅读次数:
154
1、结构 set和multiset会根据特定的排序原则将元素排序。两者不同之处在于,multisets允许元素重复,而set不允许重复。 只要是assignable、copyable、comparable(根据某个排序准则)的型别T,都可以成为set或者multisets的元素。如果没有特别的排序原 ...
分类:
编程语言 时间:
2017-06-11 17:22:47
阅读次数:
227
Given two binary trees and imagine that when you put one of them to cover the other, some nodes of the two trees are overlapped while the others are n ...
分类:
其他好文 时间:
2017-06-11 12:05:03
阅读次数:
94
最近学习了二叉搜索树中的红黑树,感觉收获颇丰,在此写一篇文章小结一下学到的知识,顺便手写一下Java代码。 1.引言 先来讲讲什么是二叉搜索树,二叉搜索树有如下特点:他是以一颗二叉树(最多有两个子结点)来组织的,对于树中的某个节点,其左子树的所有元素均小于该节点,其右子树的元素均大于该节点。我们知道 ...
分类:
编程语言 时间:
2017-06-11 10:22:56
阅读次数:
278
http://studygolang.com/articles/2052 ldflags 用法:【路径,非必需,除非你有目录层次】包名.变量 [path]packege.value go build -ldflags "-X other.VERSION=1.0.0 -X gpxj/other.VER ...
分类:
其他好文 时间:
2017-06-11 10:09:36
阅读次数:
153