文章
HDOJ1518Square 深搜
SquareTimeLimit:10000/5000MS(Java/Others)MemoryLimit:65536/32768K(Java/Others)TotalSubmission(s):11099AcceptedSubmission(s):3566ProblemDescriptionGivena
HDOJ1021题 Fibonacci Again 应用求模公式
ProblemDescriptionThereareanotherkindofFibonaccinumbers:F(0)7,F(1)11,F(n)F(n1)F(n2)(n2).InputInputconsistsofasequenceoflines,eachcontaini
HDOJ(HDU) 1985 Conversions(汇率转换)
ProblemDescriptionConversionbetweenthemetricandEnglishmeasurementsystemsisrelativelysimple.Often,itinvolveseithermultiplyingordividingbyaconstant.Youmust
HDOJ(HDU) 1718 Rank(水题、、、)
ProblemDescriptionJacksonwantstoknowhisrankintheclass.Theprofessorhaspostedalistofstudentnumbersandmarks.ComputeJackson’srankinclass;thatis,ifhehas
HDOJ(HDU) 1708 Fibonacci String
ProblemDescriptionAfterlittleJimlearnedFibonacciNumberintheclass,hewasveryinterestinit.Nowheisthinkingaboutanewthing–FibonacciString.Hedefines:
HDOJ(HDU) 1587 Flowers(水、、)
ProblemDescriptionAsyouknow,Gardontridhardforhisloveletter,andnowhe’sspendingtoomuchtimeonchoosingflowersforAngel.WhenGardonenteredtheflowershop,h
HDOJ 2100 Lovekey
ProblemDescriptionXYZ26进制数是一个每位都是大写字母的数字。A、B、C、…、X、Y、Z分别依次代表一个0~25的数字,一个n位的26进制数转化成是10进制的规则如下A0A1A2A3…An1的每一位代表的数字为a0a1a2a3…an1,则该XYZ26进制数的10进制值就为m=a0\26
HDOJ 1716 排列2(next_permutation函数)
ProblemDescriptionRay又对数字的列产生了兴趣:现有四张卡片,用这四张卡片能排列出很多不同的4位数,要求按从小到大的顺序输出这些4位数。Input每组数据占一行,代表四张卡片上的数字(0<数字<9),如果四张卡片都是0,则输入结束。Output对每组卡片按从小到大的顺序输出所有能由这四张卡片组成的4位数
HDOJ 1391 Number Steps(打表DP)
ProblemDescriptionStartingfrompoint(0,0)onaplane,wehavewrittenallnonnegativeintegers0,1,2,…asshowninthefigure.Forexample,1,2,and3hasbeenwrittenat
HDOJ 1028 Ignatius and the Princess III(递推)
ProblemDescription“Well,itseemsthefirstproblemistooeasy.Iwillletyouknowhowfoolishyouarelater.”feng5166says.“Thesecondproblemis,givenanpositivei
已加载文章中没有匹配内容,试试其他关键词或清空搜索。