原文: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
百分比值同关键字很接近,但其操作方式不一样。用百分比值来居中一幅背景图像,也很简单: body { background-image;url(beijing.gif); background-repeat:no-repeat; background-position:50% 50%; } 这使得背景...
分类:
Web程序 时间:
2015-01-09 12:34:50
阅读次数:
264
2659: [Beijing wc2012]算不出的算式Time Limit:3 SecMemory Limit:128 MBSubmit:757Solved:425[Submit][Status]Description算不出的算式背景: 曾经有一个老掉牙的游戏放在我面前,我没有珍惜。直到这个游戏停...
分类:
其他好文 时间:
2015-01-02 23:36:35
阅读次数:
164
题目大意:给出一个棵果树,上面有些地方长了一些果子。现在有一只小猫想去吃这些果子,他从最高处往下跳,每到一个地方可以吧这个地方的果子全吃掉。也可以向旁边的果树上跳。问小猫最多能吃到多少果子。
思路:WC的无脑动规大水题。随便加个小优化就过了。。
CODE:
#include
#include
#include
#include
#define MAX 3510
u...
分类:
其他好文 时间:
2014-12-31 16:25:10
阅读次数:
146