Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red, ...
分类:
其他好文 时间:
2014-07-07 14:54:18
阅读次数:
219
1 //Accepted 164 KB 0 ms 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 queue qx,qy; 8 int n,m; 9 int ans;10 int d[][...
分类:
其他好文 时间:
2014-07-01 22:48:49
阅读次数:
194
今天在自己的电脑上装了虚拟机,但在虚拟机里想装64位的win7,老是提示:Attempting to load a 64-bit application,however this cpu is not compatible with 64-bit mode在网上查过后,发现是电脑的Virtualiz...
分类:
其他好文 时间:
2014-07-01 22:34:52
阅读次数:
258
Sort colors:Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the...
分类:
其他好文 时间:
2014-07-01 12:57:43
阅读次数:
179
Swift’s API includes many functions and instance methods that reflect its functional programming heritage. A prime example is calledreduce.You can red...
分类:
移动开发 时间:
2014-07-01 00:27:22
阅读次数:
329
POJ 1979 题解
很简单的一道上手的深搜题目,题目意思很简单,就是不能走红色的砖。从起点开始深搜就行了。...
分类:
其他好文 时间:
2014-06-30 17:47:49
阅读次数:
228
2692407267@qq.com,更多内容请关注http://user.qzone.qq.com/2692407267
Wind River Linux 6 Open Virtualization Profile...
计算几何+SPFA
我已经不想看我的提交记录了。。。。
HDU 我起码WA了2页。。。。
都是浮点数惹的祸。
const double eps=1e-4;
a-b
这样来判断相等。
总共 n 条鳄鱼,最多有 n*(n+1)/2 条路。
抽象化处理。
把 中心的起点当作 起点0 ; 最多有 n+1 条路。
把鳄鱼和周围的边界的终点都当作 n+1 ; 最多有...
分类:
其他好文 时间:
2014-06-29 23:23:25
阅读次数:
217
1准备工具uputty_V0.63.0.0.43510830.exe------》用于连接到Linux服务器uWinscp------》用于将windows与Linux服务器文件互传2操作步骤复制代理至Linux服务器在SCOM安装光盘中,找到Linux服务器代理打开Wincap工具,将用于Linux服务器的SCOM代理,复制到Linux服务器根目录下1域..
分类:
系统相关 时间:
2014-06-29 21:01:51
阅读次数:
3924
http://acm.hdu.edu.cn/showproblem.php?pid=1250大数斐波那契%08d是什么东西,为什么我用flag交不上,唉,不刷大数了,没劲。暑假再讲。就是交不上#include #include #include #include using namespace st...
分类:
其他好文 时间:
2014-06-29 19:22:20
阅读次数:
200