码迷,mamicode.com
首页 >  
搜索关键字:hdu 4719 oh my holy    ( 45498个结果
对List中对象的去重my
今天项目中遇到了一个对List中对象去重的问题。首先对于我们自己系统中的对象我们只要重写该对象的 equal 和 hashcode 即可(利用对象中的能够唯一确定对象的属性)。但是我遇到的不是本系统的对象, 而是另一个系统中的对象, 我本身是无法对其进行重写的。 我的处理方法是遍历List,利用Ma...
分类:其他好文   时间:2014-05-13 19:06:03    阅读次数:237
HDU2222
HDU2222,一道很裸的AC自动机。直接用模版,不解释。题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2222标程:
分类:其他好文   时间:2014-05-13 18:14:47    阅读次数:213
hdu 1452 Happy 2004 膜拜这推导过程
Happy 2004Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 920Accepted Submission(s): 648Problem De...
分类:移动开发   时间:2014-05-13 18:01:23    阅读次数:327
HDU2879 HeHe 数论积性函数
题目名字有点搓,做题时没做出来,学长他们做出了,发现跟网上题解的思路没太大区别,网上所有题解的分析也都转自同一个地方,看样子这道题目不是那么好想的,没办法按照解析画了半天,计算器按了半天,理解了,自己敲出来了,觉得值得留念,打算再刷几道这样的 hdu 2879 HeHe 题意:In the equation X^2≡X(mod N) where x∈[0,N-1], we...
分类:其他好文   时间:2014-05-13 15:59:20    阅读次数:357
hdu 1237 简单计算器
简单计算器...
分类:其他好文   时间:2014-05-13 15:28:33    阅读次数:268
HDU 4788 (14.05.12)
Hard Disk Drive Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 647    Accepted Submission(s): 350 Problem Description   Yesterday ...
分类:其他好文   时间:2014-05-13 15:19:16    阅读次数:290
HDU Bombing (STL multiset+map)
题意:给你 n 个坐标(x,y),m 个询问(c,d) c==0,求出x==d有多少个,并删除这些点; c==1,求出y==d有多少个,并删除这些点。 map+multiset的多重映射 #include #include #include #include #include #include #include #include #include #includ...
分类:其他好文   时间:2014-05-13 15:13:07    阅读次数:253
hdu 3415 单调队列
Max Sum of Max-K-sub-sequence Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 5690    Accepted Submission(s): 2059 Problem Description ...
分类:其他好文   时间:2014-05-13 11:38:49    阅读次数:256
HDU3920:Clear All of Them I(状态压缩)
Problem Description Acmers have been the Earth Protector against the evil enemy for a long time, now it’s your turn to protect our home.   There are 2 * n enemies in the map. Your task is to clear a...
分类:其他好文   时间:2014-05-13 11:29:40    阅读次数:308
progressbar样式
http://www.oschina.net/question/8676_11797http://blog.csdn.net/ouyangtianhan/article/details/6565768http://my.oschina.net/amigos/blog/59871http://blog...
分类:其他好文   时间:2014-05-13 10:10:27    阅读次数:451
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!