チーズ () 問題 今年も JOI 町のチーズ工場がチーズの生産を始め,ねずみが巣から顔を出した.JOI 町は東西南北に区画整理されていて,各区画は巣,チーズ工場,障害物,空き地のいずれかである.ねずみは巣から出発して全てのチーズ工場を訪れチーズを 1 個ずつ食べる. この町には,N 個のチーズ工場 ...
分类:
其他好文 时间:
2018-08-11 20:46:31
阅读次数:
112
<题目链接> 题目大意: 给你一个n*n的矩阵,每个矩阵上有相应数量的奶酪,老鼠一次最多走K步,且每次只能横着走或者竖着走,并且每一次停留位置上的奶酪数一定要多余它刚才的奶酪数,求这只老鼠所能得到的最多奶酪数。 解题分析: 这题很明显要用搜索做,但是在搜索的过程中,我们应该加入dp的思想,即记忆化搜 ...
分类:
其他好文 时间:
2018-07-28 21:50:53
阅读次数:
142
FatMouse and Cheese FatMouse has stored some cheese in a city. The city can be considered as a square grid of dimension n: each grid location is label ...
分类:
其他好文 时间:
2018-07-24 20:25:17
阅读次数:
308
传送门: http://acm.hdu.edu.cn/showproblem.php?pid=1078 FatMouse and Cheese Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Other ...
分类:
其他好文 时间:
2018-07-21 22:51:27
阅读次数:
260
传送门: http://acm.hdu.edu.cn/showproblem.php?pid=1160 FatMouse's Speed Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)T ...
分类:
其他好文 时间:
2018-07-21 22:47:58
阅读次数:
210
FatMouse' Trade Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 92544 Accepted Submission(s): 321 ...
分类:
其他好文 时间:
2018-07-17 00:48:04
阅读次数:
128
传送门: http://acm.hdu.edu.cn/showproblem.php?pid=1009 FatMouse' Trade Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)To ...
分类:
其他好文 时间:
2018-07-15 11:09:35
阅读次数:
156
D - FatMouse and Cheese FatMouse has stored some cheese in a city. The city can be considered as a square grid of dimension n: each grid location is l ...
分类:
其他好文 时间:
2018-07-07 22:40:01
阅读次数:
232
闭包是什么? 初学javascript的人,都会接触到一个东西叫做闭包,听起来感觉很高大上的。网上也有各种五花八门的解释,其实我个人感觉,没必要用太理论化的观念来看待闭包。 事实上,你每天都在用闭包,只是你不知道罢了。 比如: var cheese = '奶酪'; var test = functi ...
分类:
编程语言 时间:
2018-07-06 15:47:29
阅读次数:
144
描述 FatMouse is lucky enough for it found a rectangular box in a storehouse which contains his favorite food-JavaBeans.The box is splited into r*c cell ...
分类:
编程语言 时间:
2018-05-12 23:55:00
阅读次数:
378