码迷,mamicode.com
首页 >  
搜索关键字:hdu 4565 so easy    ( 46279个结果
UVA 540(队列)
Description   Team Queue  Queues and Priority Queues are data structures which are known to most computer scientists. The Team Queue, however, is not so well known, though ...
分类:其他好文   时间:2014-06-03 04:45:44    阅读次数:288
浅谈hadoop中mapreduce的文件分发
DistributedCache 是一个提供给Map/Reduce框架的工具,用来缓存文件(text, archives, jars and so on)...
分类:其他好文   时间:2014-06-03 02:18:37    阅读次数:332
[简单博弈] hdu 1525 Euclid's Game
题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=1525 Euclid's Game Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 1832    Accepted S...
分类:其他好文   时间:2014-06-03 01:38:06    阅读次数:255
hdu-4605-Magic Ball Game-线段树+离线操作
以前用树状数组做过一次,现在用线段树再刷一次。。。 首先必须先离散化。。。 然后建立2颗线段树,第一颗表示往左走,每个节点的值的分布。       第二颗表示往右走,每个节点的值的分布。 然后根据左右走的关系,判断出x,y的值。 #pragma comment(linker, "/STACK:1024000000,1024000000") #include #include #inclu...
分类:其他好文   时间:2014-06-03 01:25:54    阅读次数:315
hdu2102
题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=2102 题目: A计划 Time Limit: 3000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 8731    Accepted Submis...
分类:其他好文   时间:2014-06-02 23:29:29    阅读次数:207
HDU 3436 Queue-jumpers
从一开始学离散化就对它没有半毛钱好感,感觉出这种题纯属恶心人。 可以将Top x全部取出来然后离散化,缩点。剩下的就是伸展了,不再赘述。 也有人拿线段树过,一直没有想明白. . . #include #include #include #include #include #include #include #include #include #pragma comment...
分类:其他好文   时间:2014-06-02 23:24:50    阅读次数:338
hdu-1429 胜利大逃亡(续)
http://acm.hdu.edu.cn/showproblem.php?pid=1429 第一次接触搜索+状态压缩    看了大神的题解  勉强把题目弄懂了。 用二进制来表示手头的钥匙有哪些,100表示有第三把钥匙,111表示有第三、二、一把,搜索下一点时,如果该点为钥匙点,则可采用|运算来 模拟拾取,显然0001 | 1000 = 1001,同理,当为相应的门时采用&运算来模拟开启,例...
分类:其他好文   时间:2014-06-01 10:35:21    阅读次数:256
Android中运行的错误:java.lang.UnsatisfiedLinkError: Couldn't load locSDK3: findLibrary returned null.
今天在使用百度地图的时候运行发现报错: 明明已经加入了liblocSDK3.so,但总是无法定位。提示错误java.lang.UnsatisfiedLinkError: Couldn't load locSDK3: findLibrary returned null. 网上找了很多的资料找到一个方法: 在libs下新建一个armeabi-v7a,然后将liblocSDK3.so复...
分类:移动开发   时间:2014-06-01 10:34:07    阅读次数:249
projecteuler---->problem=12----Highly divisible triangular number
title: The sequence of triangle numbers is generated by adding the natural numbers. So the 7th triangle number would be 1 + 2 + 3 + 4 + 5 + 6 + 7 = 28. The first ten terms would be: 1, 3, 6, 10,...
分类:其他好文   时间:2014-06-01 10:31:26    阅读次数:233
UDP 網路程式設計 (1) --- Getting Started
在大部份的網路應用裡,TCP 似乎比 UDP 來的多許多,程式人員通常也是對撰寫 TCP 程式比較熟悉,這裡將整理一些 UDP 程式設計的說明,希望對大家有幫助。一開始先介紹三個最重要的類別,如下:DatagramPacket: UDP 的封包。DatagramSocket: 用來建立 UDP so...
分类:其他好文   时间:2014-05-31 18:40:47    阅读次数:210
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!