曾听一位大神讲过,带着目的去学,知识往往能记得牢,记得稳。借助思维导图这个工具,对一些我感兴趣的知识点进行分类管理。以后方便自己复习。我会以思维导图+代码段的方式,回滚学习linuxshell编程。转义/色彩与用户交互的接口#打印一个普通的字符串
[root@beijing~]#echo"it..
分类:
系统相关 时间:
2015-01-24 06:51:37
阅读次数:
284
原文:SQL导入txt以及SQL中的时间格式操作MySQL中导入txt的指令为:
load data local infile "路径名称" into table "表名"
比如我文件的具体位置为"f:\\dataset\\beijing\\xx.txt",创建的表名为"person",则上述指令的...
分类:
数据库 时间:
2015-01-23 15:57:53
阅读次数:
199
微软近期Open的职位:We are the Skype Beijing team. Skype division drives the communications strategy for Microsoft and has a vision is to “be the global commu...
分类:
其他好文 时间:
2015-01-23 00:31:30
阅读次数:
252
微软近期Open的职位:We are the Skype Beijing team. Skype division drives the communications strategy for Microsoft and has a vision is to “be the global commu...
分类:
其他好文 时间:
2015-01-22 14:37:29
阅读次数:
215
微软近期Open的职位:We are the Skype Beijing team. Skype division drives the communications strategy for Microsoft and has a vision is to “be the global commu...
分类:
其他好文 时间:
2015-01-22 12:35:59
阅读次数:
188
贪心找最优策略。大白上有详解。 不过这里有几个值得思考的地方。 还有几个地方想不明白,脑子不够用了,先记着,改天再做一遍#include #include using namespace std;const int maxn = 100005;int n,a[maxn],left[maxn]...
分类:
其他好文 时间:
2015-01-21 21:53:50
阅读次数:
208
题解:其实就是求三维偏序最长链。类似于三维逆序对,我们可以用树状数组套平衡树来实现。DP方程 :f[i]=max(f[j]+1) a[j] 2 3 #include 4 5 #include 6 7 #include 8 9 #include 10 11 #include ...
分类:
其他好文 时间:
2015-01-21 19:52:08
阅读次数:
322
题目大意:给出平面上一些点,问这些点组成的最小周长三角形的周长是多少。
思路:与平面最近点对类似的思想,先按照x值排序,通过全局目前搜到的最优解来缩小分治之后需要暴力枚举的范围。具体来说,递归的终止条件是需要处理的点数小于一定数量,就在这些点中暴力枚举来更新答案。这个值经过测定,在这个题中20左右为最快的。具体怎么算我也不知道。。
之后每处理一段区间,先递归处理左右区间来更新答案,弄出...
分类:
其他好文 时间:
2015-01-15 22:13:24
阅读次数:
195
题目链接:http://www.lydsy.com:808/JudgeOnline/problem.php?id=2584题意:给出平面n个线段,任意两个线段严格不相交,且每个线段不平行于坐标轴。移走所有线段。每次移走一个线段,移n次,移走时只能竖直向下、向上或水平向左向右移走。每次移动时不能与当前...
分类:
其他好文 时间:
2015-01-12 14:24:45
阅读次数:
177
百分比值同关键字很接近,但其操作方式不一样。用百分比值来居中一幅背景图像,也很简单: body { background-image;url(beijing.gif); background-repeat:no-repeat; background-position:50% 50%; } 这使得背景...
分类:
Web程序 时间:
2015-01-09 12:34:50
阅读次数:
264