题目链接After completing her final semester, Savita is back home. She is excited to meet all her friends. HerNfriends live in different houses spread acro...
分类:
其他好文 时间:
2014-08-24 11:29:42
阅读次数:
327
1 //动态数组 2 vector theVector; 3 theVector.push_back(1); 4 theVector.push_back(2); 5 theVector.push_back(3); 6 theVector.pop_ba...
分类:
其他好文 时间:
2014-08-24 09:08:02
阅读次数:
136
题目链接:uva 1517 - Tracking RFIDs
题目大意:给定S,R,W,P,表示有R个传感器,感应半径为R,W堵墙,P个产品,给定S个传感器的位置,W堵墙的位置(两端点),以及P个产品的位置。输出每个产品可以被那些传感器确定位置。如果传感器和产品之间隔着k堵墙,则距离要加上k。
解题思路:S个数很大,但是R很小,所以枚举每个产品周围坐标加减R的距离范围内的点,判断是否存...
分类:
其他好文 时间:
2014-08-24 00:22:31
阅读次数:
289
原文:http://blog.csdn.net/mysniper11/article/details/8726649 视频介绍网址:http://www.cvchina.info/2011/04/05/tracking-learning-detection/ TLD(Tracking-Lea...
分类:
其他好文 时间:
2014-08-23 16:39:21
阅读次数:
371
简单用法: #include using namespace __gnu_cxx;int a[1000];rope x;rope x(a,a + n);rope a(x);x->at(10);x[10];x->push_back(x) // 在末尾添加xx->insert(pos,x) // 在po...
分类:
其他好文 时间:
2014-08-21 20:58:24
阅读次数:
391
修改user.php文件,如果您网站的该文件修改过,按照下面的修改说明修改文件。查找代码:elseif ($action == 'act_login')在:$back_act = isset($_POST['back_act']) ? trim($_POST['back_act']) : ''; 下...
分类:
其他好文 时间:
2014-08-21 16:56:14
阅读次数:
202
微软亚洲研究院2014CVPR: Realtime and Robust Hand Tracking from Depth...
分类:
其他好文 时间:
2014-08-20 22:44:03
阅读次数:
414
两种销毁 第一种是正常的销毁,比如用户按下Back按钮或者是activity自己调用了finish()方法;另一种是由于activity处于stopped状态,并且它长期未被使用,或者前台的activity需要更多的资源,这些情况下系统就会关闭后台的进程,以恢复一些内存。需要注意的是这其中有一种情况...
分类:
移动开发 时间:
2014-08-20 17:57:03
阅读次数:
258
a simple music player: Golang for the back-end, html5 and jQuery for the front-end...
分类:
Web程序 时间:
2014-08-20 10:31:26
阅读次数:
224
From: http://arstechnica.com/business/2014/08/linux-on-the-desktop-pioneer-munich-now-considering-a-switch-back-to-windows/ 市政府称,用户不满意Linux的成本高于预期。 世界...