码迷,mamicode.com
首页 >  
搜索关键字:ikkis problem    ( 37569个结果
POJ3468 A Simple Problem with Integers 【线段树】+【成段更新】
A Simple Problem with Integers Time Limit: 5000MS   Memory Limit: 131072K Total Submissions: 57666   Accepted: 17546 Case Time Limit: 2000MS Description You have N...
分类:其他好文   时间:2014-07-12 23:43:04    阅读次数:291
poj 3466 A Simple Problem with Integers
题目链接:http://poj.org/problem?id=3468 http://poj.org/problem?id=3468 http://poj.org/problem?id=3468 思路:这是一个区间修改区间查询的题,由于题目中的给的数据比较大,那么用单个修改和查询肯定不行,所以。。。。注意数据可能比较大,应该用__int64或long long存数据。。。。。 code: #...
分类:其他好文   时间:2014-07-12 22:30:01    阅读次数:168
HDU 1532||POJ1273:Drainage Ditches(最大流)
Drainage Ditches Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 8574    Accepted Submission(s): 3991 Problem Description Every tim...
分类:其他好文   时间:2014-07-12 21:41:44    阅读次数:211
HDU-4643-GSM(DFS)
Problem Description Xiao Ming is traveling around several cities by train. And the time on the train is very boring, so Xiao Ming will use the mobile Internet. We all know that mobile phone receives ...
分类:其他好文   时间:2014-07-12 21:28:48    阅读次数:197
hdu1016Prime Ring Problem
爆搜解hdu1016Prime Ring Problem,欢迎讨论...
分类:其他好文   时间:2014-07-12 20:19:22    阅读次数:155
POJ-1785-Binary Search Heap Construction(笛卡尔树)
Description Read the statement of problem G for the definitions concerning trees. In the following we define the basic terminology of heaps. A heap is a tree whose internal nodes have each assigned...
分类:其他好文   时间:2014-07-12 18:52:12    阅读次数:285
POJ 1979 Red and Black【深度优先搜索】
题目链接:http://poj.org/problem?id=1979 题目大意:一个矩形的房间地板被分为w*h个小块,每一个小块不是红的就是黑的,你首先站在一个黑色小块上,你只能朝你的四个方向(上下左右)移动,且不能到达红色的小块上,问你最多能到达多少个小块。 很简单的dfs深度优先搜索 没搜索过一个格子,将该格子设置为红色,之后的搜索就不会再搜索到该格子,就不会造成重复,因为该题有很多数...
分类:其他好文   时间:2014-07-12 18:44:03    阅读次数:169
HDU-4417-Super Mario(划分树+二分)
Problem Description Mario is world-famous plumber. His “burly” figure and amazing jumping ability reminded in our memory. Now the poor princess is in trouble again and Mario needs to save his lover. ...
分类:其他好文   时间:2014-07-12 17:57:06    阅读次数:174
HDU 1150:Machine Schedule(二分匹配,匈牙利算法)
Machine Schedule Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 5371    Accepted Submission(s): 2658 Problem Description As we all...
分类:其他好文   时间:2014-07-12 17:41:08    阅读次数:241
HDU 1016 Prime Ring Problem 题解
Problem Description A ring is compose of n circles as shown in diagram. Put natural number 1, 2, ..., n into each circle separately, and the sum of numbers in two adjacent circles should be a prime...
分类:其他好文   时间:2014-07-12 16:42:15    阅读次数:271
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!