E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
bestcoder
HDU - 3874 Necklace (线段树 + 离线处理)
欢迎参加——每周六晚的
BestCoder
(有米!)
qq_18661257
·
2015-08-12 11:00
hdu 2647(拓扑排序)
欢迎参加——每周六晚的
BestCoder
(有米!)
lljjccsskk
·
2015-08-11 10:00
#
BestCoder
Round #50 (div.2)
1001Distributionmoney这个题很水,但是由于一时紧张把超过一半理解为大于了,wa了一发。比赛的时候一定要注意,冷静冷静冷静,焦急并不能带来好的发挥,只有泰然处之才可就像面试的时候一样,紧张只会造成发挥的一塌糊涂,然而无所谓心态反而发挥极好。1002Run题意:给出n个点的坐标,求这些点可以围成的正三角形,正方形,正五边形,正六边形。思路:咋一看这个题根本无从下手啊,六边形和四边形
jibancanyang
·
2015-08-11 09:00
BestCoder
HDU 5167 Fibonacci——
BestCoder
Round #28(搜索+预处理)
FibonacciTimeLimit:2000/1000MS(Java/Others) MemoryLimit:65536/65536K(Java/Others)ProblemDescriptionFollowingistherecursivedefinitionofFibonaccisequence:Fi=⎧⎩⎨01Fi−1+Fi−2i=0i=1i>1Nowweneedtocheckwhe
queuelovestack
·
2015-08-10 20:00
算法
搜索
ACM
HDU 5268 ZYB loves Score——
BestCoder
Round #44(模拟)
1000MS(Java/Others) MemoryLimit:65536/65536K(Java/Others)ProblemDescriptionOneday,ZYBparticipatedinthe
BestCoder
Contest
queuelovestack
·
2015-08-10 19:00
模拟
ACM
HDU 5269 ZYB loves Xor I——
BestCoder
Round #44(字典树)
ZYBlovesXorITimeLimit:2000/1000MS(Java/Others) MemoryLimit:65536/65536K(Java/Others)ProblemDescriptionMemphislovesxorverymusch.NowhegetsanarrayA.ThelengthofAisn.Nowhewantstoknowthesumofall(lowbit(A
queuelovestack
·
2015-08-10 19:00
算法
ACM
字典树
HDU 5272 Dylans loves numbers——
BestCoder
Round #45(模拟)
YoucanfindhisIDinUOJandCodeforces.HisanotherIDiss1451900in
BestCoder
.Andnowt
queuelovestack
·
2015-08-10 17:00
模拟
ACM
HDU 5273 Dylans loves sequence——
BestCoder
Round #45(DP or 树状数组)
DylanslovessequenceTimeLimit:2000/1000MS(Java/Others) MemoryLimit:131072/131072K(Java/Others)ProblemDescriptionDylansisgiven N numbers a[1]....a[N]Andthereare Q questions.Eachquestionislikethis (L,
queuelovestack
·
2015-08-10 17:00
动态规划
ACM
预处理
树状数组
HDU 5284 wyh2000 and a string problem——
BestCoder
Round #48(普通的字符串处理)
wyh2000andastringproblemTimeLimit:2000/1000MS(Java/Others) MemoryLimit:131072/65536K(Java/Others)ProblemDescriptionYoungtheoreticalcomputerscientistwyh2000isteachingyoungpupilssomebasicconceptsabou
queuelovestack
·
2015-08-10 15:00
String
ACM
HDU 5281 Senior's Gun——
BestCoder
Round #47(贪心)
Senior'sGunTimeLimit:2000/1000MS(Java/Others) MemoryLimit:65536/65536K(Java/Others)ProblemDescriptionXuejiejieisabeautifulandcharmingsharpshooter.Sheoftencarries n guns,andeverygunhasanattackpower
queuelovestack
·
2015-08-10 15:00
算法
ACM
贪心
bestcoder
#50 div2
最近感觉做题水准好差劲啊,跟最近生活不规律有点关系?还是得加油,多思考多练习。dp还是要加强。1001很水,就是找出那个出现次数多于一半的那个。1001#include #include #include #include usingnamespacestd; #defineM100009 inta[M]; intmain() { intn; while(scanf("%d",&n)==1) {
liujc_
·
2015-08-09 21:00
hdu 5365 Run 几何 判定四边形
欢迎参加——每周六晚的
BestCoder
(有米!)
u010422038
·
2015-08-09 14:00
BestCoder
Round #50 (div.2) HDU 5365 Run(简单几何)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5365题面:(严重吐槽,看着真不舒服,还是改一下吧)RunTimeLimit:2000/1000MS(Java/Others)MemoryLimit:65536/65536K(Java/Others)TotalSubmission(s):549AcceptedSubmission(s):245Probl
David_Jett
·
2015-08-09 14:05
编程题——几何
BestCoder
Round #50 (div.2) HDU 5365 Run(简单几何)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5365题面:(严重吐槽,看着真不舒服,还是改一下吧)RunTimeLimit:2000/1000MS(Java/Others) MemoryLimit:65536/65536K(Java/Others)TotalSubmission(s):549 AcceptedSubmission(s):
David_Jett
·
2015-08-09 14:00
HDU 1466 直线交点情况
的
BestCoder
(有米!)
DoJintian
·
2015-08-09 11:00
ACM
HDU
BestCoder
Round 50 (div 2)
BestCoder
Round50(div2)
BestCoder
Round50div2DistributionmoneyRunThemookjong1001Distributionmoney题意:给出一串数字
lxc779760807
·
2015-08-09 11:00
水题
BestCoder
BestCoder
Round #50 (div.2)
hdu5364【题意】:问题描述地主小花难得当一回好人,这次她准备给长工们发津贴。有些长工会偷偷地在领完津贴后又排回队伍里去领津贴。不过小花对此表示无所谓,因为她发的是固定数额的津贴。但是如果有人领到的津贴超过其他所有人的总和的话,小花为了显示自己的公正,会去惩罚他。现已知每个来领津贴的人会登记下自己的工号。 输入描述输入有多组数据,每组第一行为一个n(1 #include #include #i
u013050857
·
2015-08-09 10:00
BestCoder
HDU 5365 Run ——
BestCoder
Round #50(div.1 div.2)
RunTimeLimit:2000/1000MS(Java/Others) MemoryLimit:65536/65536K(Java/Others)ProblemDescriptionAFAisagirlwholikeruning.Today,hedownloadanappaboutruning.Theappcanrecordthetraceofherruning.AFAwillstart
queuelovestack
·
2015-08-09 00:00
枚举
ACM
暴力
HDU 5366 The mook jong——
BestCoder
Round #50(div.1 div.2)
Themookjong TimeLimit:2000/1000MS(Java/Others) MemoryLimit:65536/65536K(Java/Others)ProblemDescriptionZJiaQwanttobecomeastrongman,sohedecidedtoplaythemookjong。ZJiaQwanttoputsomemookjongsinhisbackya
queuelovestack
·
2015-08-08 23:00
数学
ACM
预处理
BestCoder
Round #50 (div.2)
题目传送:
BestCoder
Round#50(div.2)BC感觉越做越无语了1001、DistributionmoneyAC代码:#include #include #include #include
u014355480
·
2015-08-08 23:00
ACM
BestCoder
HDU 5364 Distribution money——
BestCoder
Round #50(div.2)
DistributionmoneyTimeLimit:2000/1000MS(Java/Others) MemoryLimit:65536/65536K(Java/Others)ProblemDescriptionAFAwanttodistributionhermoneytosomebody.Shedividehermoneyintonsameparts.Onewhowanttogetthe
queuelovestack
·
2015-08-08 23:00
模拟
ACM
杭电 2549 壮志难酬 水题
欢迎参加——每周六晚的
BestCoder
(有米!)
qq_24678203
·
2015-08-07 20:00
2015 Multi-University Training Contest 6(HDOJ5353)
官方题解:http://
bestcoder
.hdu.edu.cn/blog/HDOJ5355、5360、5363超过300人AC,思路见官方题解比赛时5353一直WA,2小时后发现队友5360居然还没做出来
bnmjmz
·
2015-08-07 17:00
2015 Multi-University Training Contest 6 solutions BY ZJU(部分解题报告)
官方解题报告:http://
bestcoder
.hdu.edu.cn/blog/2015-multi-university-training-contest-6-solutions-by-zju/
u010579068
·
2015-08-07 13:00
2015
hdu5355
Multi-Universit
hdu5358
hdu5360
hdu5363
2015 Multi-University Training Contest 6 Solutions
先放上官方答案,完整版请戳: http://
bestcoder
.hdu.edu.cn/blog/-------------------------大家好我是分割线--------------------
不高不富不帅的陈政_
·
2015-08-06 19:00
hdoj
多校联合训练
BestCoder
Bestcoder
s 回文串 Manacher 算法
ThreePalindromesTimeLimit:2000/1000MS(Java/Others)MemoryLimit:65536/65536K(Java/Others)TotalSubmission(s):871AcceptedSubmission(s):262ProblemDescriptionCanwedividedagivenstringSintothreenonemptypalind
阿龙的圈子
·
2015-08-03 09:29
字符串
Bestcoder
s 回文串 Manacher 算法
ThreePalindromesTimeLimit:2000/1000MS(Java/Others) MemoryLimit:65536/65536K(Java/Others)TotalSubmission(s):871 AcceptedSubmission(s):262ProblemDescriptionCanwedividedagivenstringSintothreenonemp
DoJintian
·
2015-08-03 09:00
ACM
HDU
HDU 5340 Three Palindromes ——
BestCoder
Round #49
ThreePalindromesTimeLimit:2000/1000MS(Java/Others) MemoryLimit:65536/65536K(Java/Others)ProblemDescriptionCanwedividedagivenstringSintothreenonemptypalindromes? InputFirstlinecontainsasingleinteger
queuelovestack
·
2015-08-02 10:00
算法
ACM
manacher算法
回文串
BestCoder
Round #49 ($) 1001 Untitled
5339 Untitled问题描述有一个整数aa和nn个整数b_1,\ldots,b_nb1,…,bn。在这些数中选出若干个数并重新排列,得到c_1,\ldots,c_rc1,…,cr。我们想保证a\mod\c_1\mod\c_2\mod\ldots\mod\c_r=0a mod c1 mod c2 mod… mod cr=0。请你得出最小的rr,也就是最
u013050857
·
2015-08-02 08:00
BestCoder
#49
HDU 5339 Untitled ——
BestCoder
Round #49
UntitledTimeLimit:2000/1000MS(Java/Others) MemoryLimit:65536/65536K(Java/Others)ProblemDescriptionThereisaninteger a and n integers b1,…,bn.Afterselectingsomenumbersfrom b1,…,bn inanyorder,say c1,…
queuelovestack
·
2015-08-01 23:00
ACM
深搜
bestcoder
#36-13981Strange Class字符串是否是a^n+b^n+c^n
ProblemDescriptionInVivid’sschool,thereisastrangeclass(SC).InSC,thestudents’namesareverystrange.Theyareinthesameformat: anbncn(a,b,cmustnotbethesamewitheachother).Forexamplestudenswhosenamesare“abc”,”
zhou_yujia
·
2015-08-01 23:00
算法
HDU
Bestcoder
比赛再次爆0(应该是一直是0)
挺受打击的,哎.......但是略有收获,遍历一个数组所有的组合,共有2^n-1种;参考:http://www.cnblogs.com/shuaiwhu/archive/2012/04/27/2473788.html我改造之后的代码(遍历全部):#include voidcombine_increase(int*arr,intstart,int*result,intcount,constintNU
qq_27803491
·
2015-08-01 23:00
BestCoder
Round #49 ($) 1001
ProblemDescriptionThereisanintegeraaaandnnnintegersb1,…,bnb_1,\ldots,b_nb1,…,bn.Afterselectingsomenumbersfromb1,…,bnb_1,\ldots,b_nb1,…,bninanyorder,sayc1,…,crc_1,\ldots,c_rc1,…,cr,we
Code_KK
·
2015-08-01 20:00
D -
BestCoder
Sequence
题目要求的是中位数,不是中间那个数,,,所以要对选取的那几个连续的数排一下序,例如92851 她的中位数是5不是8 我的思路是 以要求的数m为基准,往右边for一遍,如果a[i]>mcun1++elsecun1--然后把vis[cun1]++;注意由于要求长度是奇数,所以还把每一个cun1分成奇数的cun1和偶数的cun1同理左边也是这样最后for左端点到m的位置 如果奇数对应的cun1==奇数对
viphong
·
2015-07-31 23:00
多校 hdu
欢迎参加——每周六晚的
BestCoder
(有米!)
DoJintian
·
2015-07-30 10:00
ACM
HDU
多校 hdu
欢迎参加——每周六晚的
BestCoder
(有米!)
DoJintian
·
2015-07-29 16:00
ACM
HDU
BestCoder
1st Anniversary--1001,1002解题
Others)TotalSubmission(s):713 AcceptedSubmission(s):436ProblemDescriptionTodayisthe1stanniversaryof
BestCoder
.Soda
u013015642
·
2015-07-27 15:00
hdu 5311 Hidden String dp o(n)算法 深搜
Others)TotalSubmission(s):857 AcceptedSubmission(s):322ProblemDescriptionTodayisthe1stanniversaryof
BestCoder
.Soda
u010422038
·
2015-07-27 11:00
BestCoder
1st Anniversary ($) 题解
Souvenir问题描述今天是
BestCoder
一周年纪念日.比赛管理员Soda想要给每个参赛者准备一个纪念品.商店里纪念品的单价是 p 元,同时也可以花 q 元购买纪念品套装,一个套装里有 m
u013050857
·
2015-07-26 19:00
比赛
BestCoder
HDU 5311 Hidden String
ProblemDescriptionTodayisthe1stanniversaryof
BestCoder
.Soda,thecontestmanager,getsastring ss oflength
jtjy568805874
·
2015-07-26 17:00
HDU
HDU 5310 Souvenir
ProblemDescriptionTodayisthe1stanniversaryof
BestCoder
.Soda,thecontestmanager,wantstobuyasouvenirforeachcontestant.Youcanbuythesouvenironebyoneorsetbysetintheshop.Thepriceforasouveniris
jtjy568805874
·
2015-07-26 17:00
HDU
BestCoder
1st Anniversary ($) 第三题 Sequence
这个题看上去是一个贪心,但是这个贪心显然是错的. 事实上这道题目很简单,先判断1个是否可以,然后判断2个是否可以.之后找到最小的 k(k>2) ,使得 (m−k)mod6=0 即可. 证明如下: 3n(n−1)+1=6(n∗(n−1)/2)+1 ,注意到 n∗(n−1)/2 是三角形数,任意一个自然数最多只需要3个三角形数即可表示.枚举需要 k 个,那么显然 m=6(k个三角形数的
Miracle_ma
·
2015-07-26 13:00
ACM
[枚举]
BestCoder
1st Anniversary$1002 Hidden String
Submissions:2174 TimeLimit:2000/1000MS(Java/Others) MemoryLimit:262144/262144K(Java/Others)问题描述今天是
BestCoder
u012848631
·
2015-07-26 11:00
hdu 5310 Souvenir
pid=5310题意:今天是
BestCoder
一周年纪念日.比赛管理员Soda想要给每个参赛者准备一个纪念品.商店里纪念品的单价是p元,同时也可以花q元购买纪念品套装,一个套装里有m个纪念品.今天总共有
qingshui23
·
2015-07-26 11:00
BestCoder
1st Anniversary ($) 1002.Hidden String
:437Submissions:2174TimeLimit:2000/1000MS(Java/Others)MemoryLimit:262144/262144K(Java/Others)问题描述今天是
BestCoder
jhgkjhg_ugtdk77
·
2015-07-26 10:00
Algorithm
ACM
BestCoder
Force
brute
BestCoder
1st Anniversary
题目传送:
BestCoder
1stAnniversary1001AC代码:#include #include #include #include #include #include #include #
u014355480
·
2015-07-26 10:00
ACM
BestCoder
BestCoder
1st Anniversary ($) Souvenir 动态规划
1000MS(Java/Others)MemoryLimit:262144/262144K(Java/Others)ProblemDescriptionTodayisthe1stanniversaryof
BestCoder
.Soda
wr132
·
2015-07-25 22:00
动态规划
BestCoder
1st
Annive
Souvenir
BestCoder
1st Anniversary
1000MS(Java/Others) MemoryLimit:262144/262144K(Java/Others)ProblemDescriptionTodayisthe1stanniversaryof
BestCoder
.Soda
k183000860
·
2015-07-25 20:00
DNA Sorting(排序)
欢迎参加——
BestCoder
周年纪念赛(高质量题目+多重奖励) DNA Sorting Time Limit: 2000/1000 MS (Java/Others)
·
2015-07-25 18:00
sort
HDU 4771 Stealing Harry Potter's Precious (深搜+广搜)
pid=4771题面:欢迎参加——
BestCoder
周年纪念赛(高质量题目+多重奖励)StealingHarryPotter'sPreciousTimeLimit:2000/1000MS(Java/Others
David_Jett
·
2015-07-25 11:11
编程题——搜索
上一页
11
12
13
14
15
16
17
18
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他