码迷,mamicode.com
首页 >  
搜索关键字:robot    ( 1499个结果
HDU-3681-Prison Break(BFS+状压DP+二分)
Problem Description Rompire is a robot kingdom and a lot of robots live there peacefully. But one day, the king of Rompire was captured by human beings. His thinking circuit was changed by human an...
分类:其他好文   时间:2014-08-28 11:27:09    阅读次数:265
leetcode 之 Unique Paths
Unique Paths A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). The robot can only move either down or right at any point in time. The r...
分类:其他好文   时间:2014-08-27 16:34:58    阅读次数:242
Unique Paths
A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below).The robot can only move either down or right at any po...
分类:其他好文   时间:2014-08-25 20:43:44    阅读次数:237
Unique Paths @ Python Leetcode EPI 17.4
Unique PathsA robot is located at the top-left corner of amxngrid (marked 'Start' in the diagram below).The robot can only move either down or right a...
分类:编程语言   时间:2014-08-25 06:33:53    阅读次数:277
zoj 1483 划分类DP
还是看了little_w大神写的才知道怎么写,看完发现自己题意也理解错了,里面有个neighboring,意思就是你指定任务的时候指定的是原序列中连续的一段然后就是怎么DP了,新学了个很好的dp模型 dp[i][j]表示前i个robot已经分担了j个任务是否可行,可行为1,不可行为0.所以对于某个当...
分类:其他好文   时间:2014-08-24 18:01:22    阅读次数:208
Robots协议具体解释
禁止搜索引擎收录的方法(robots.txt)一、什么是robots.txt文件?搜索引擎通过一种程序robot(又称spider),自己主动訪问互联网上的网页并获取网页信息。您能够在您的站点中创建一个纯文本文件robots.txt,在这个文件里声明该站点中不想被robot訪问的部分,这样,该站点的...
分类:其他好文   时间:2014-08-23 11:19:10    阅读次数:338
如何把Volley改成一个爬虫--HttpClient设置
闲的时候一直在自己研究爬虫相关的东西,看过一两个开源框架,自己照猫画虎的写了一个,目前看来我的爬虫可以用了,但还是有很多不足,把我目前的经验写出来跟大家分享一下。 国外爬虫的局限 1.太守规矩(如果有Robot文件就要按着爬) 2.无法自由切换代理,如果切换代理对所有线程都有影响,...
分类:其他好文   时间:2014-08-22 10:35:25    阅读次数:321
HDU 1035 Robot Motion Union Find 并查集题解
本题的类型我一看就想到使用并查集解了,因为要查找是否有环,这是并查集的典型用法。 但是由于本题数据实在是太水了,故此有人使用直接模拟都过了。这让本题降了个档次。 这里使用并查集解。而且可以根据需要简化并查集函数,代码还是很好打的。 #include #include #include #include #include #include #include #includ...
分类:其他好文   时间:2014-08-21 17:10:24    阅读次数:175
Codeforces 97D Robot in Basement bitset+模拟
题目链接:点击打开链接 题意: 每个点有一个机器人(.),下面是一些指令,每次发出指令(一个字母)所有机器人都会执行移动。 当机器人到E点就会离开。 若机器人前方是'#' 或者边界则停留原地。一个方格可以站多个机器人。 bitset模拟。。 #include #include #include #include using namespace std; char...
分类:其他好文   时间:2014-08-20 19:40:42    阅读次数:219
UVA 12503 Robot Instructions (B)
Robot InstructionsYou have a robot standing on the origin ofxaxis. The robot will be given some instructions. Your task is to predict its position aft...
分类:其他好文   时间:2014-08-17 02:27:21    阅读次数:242
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!