码迷,mamicode.com
首页 >  
搜索关键字:find mtime    ( 24581个结果
【leetcode】First Missing Positive
Given an unsorted integer array, find the first missing positive integer.For example,Given[1,2,0]return3,and[3,4,-1,1]return2.Your algorithm should ru...
分类:其他好文   时间:2014-07-22 22:52:33    阅读次数:166
ML | k-means
what's xxxk-means clustering tends to find clusters of comparable spatial extent, while the expectation-maximization mechanism allows clusters to have...
分类:其他好文   时间:2014-07-20 09:17:04    阅读次数:227
linux文件名查找which,whereis,locate
1. 文件名查找 使用find查询时,由于磁盘查询,所以速度较慢, 所以linux下查询更常使用which, whereis, locate来查询,由于是利用数据库查询,所以速度很快。 2. which 我们常用的ls命令,如果我们想知道这些常用命令放在哪儿, 就使用which命令来查询地址。 which使用PATH 环境变量去查找文件名,...
分类:系统相关   时间:2014-07-19 18:34:19    阅读次数:306
HDU 1599 find the mincost route
Floyd可解。 求最短的,能来回的路。用Floyd 并且在 三点不相同的时候 把最短找出来。然后更新。 开始没有判断!=INF。结果溢出一堆负数。 #include #include #include #include #include #include #include #include #include #include #include #define INF 0x7...
分类:其他好文   时间:2014-07-19 18:13:20    阅读次数:245
HDU 1597 find the nth digit
数学题。...
分类:其他好文   时间:2014-07-19 11:36:44    阅读次数:170
unity3d c#调用控件属性
GUIText控件wenzi text 属性值GameObject.Find("wenzi").guiText.text="修改内容";把你要获取的变量权限定义为public 类型 变量.以下方法任意一个都可以:一: public GameObject 另一个物体; //监视面板拖拽赋值...
分类:其他好文   时间:2014-07-19 11:18:27    阅读次数:297
MongoDB 学习小笔记
1、配置:mongod --dbpath=D:\MongoDB\data mongo2、基本的增删查改 find() update()-- 整体更新,局部更新。 修改器: $inc db.person.update({"age":23},{$inc:{"salary":1000}})...
分类:数据库   时间:2014-07-19 11:17:44    阅读次数:250
HDU 1596 find the safest road
最短路问题。 Dijkstra,SPFA,Floyd 都可求。题意很明了,求最安全的路,乘起来就好了。 有个小优化就是SPFA 算过的起点就不再去算了。 还有判断一下终点,开始没判断,WA了一发。 #include #include #include #include #include #include #include #include #include #inc...
分类:其他好文   时间:2014-07-19 02:45:06    阅读次数:183
HDU 1593 find a way to escape
数学题。 题意是问你能不能逃脱。 当V1的 角速度大于 V2的时候,可以一直保持 V1,O(圆心),V2 三点一线。 跑到一定距离,角速度小于的时候,就以三点一线为初始状态直接跑直线。 #include #include #include #include #include #include #include #include #include #include #...
分类:其他好文   时间:2014-07-19 02:36:55    阅读次数:188
UVA Graph Coloring
题目如下: Graph Coloring  You are to write a program that tries to find an optimal coloring for agiven graph. Colors are applied to the nodes of the graph and the only availablec...
分类:其他好文   时间:2014-07-19 02:35:06    阅读次数:210
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!