01 2016 档案
摘要:按照我之前的计划,应该是今天晚上才到家呢,可是21号就已经来到了,在家已经整整10天了,22号放纵了一天,有一天和CY出去溜了,所以应该是整整8天的时间是可以利用的,然而,我发现效果并不是那么好。放假前在图书馆借了三本书 C++ primeer plus ,Linux编程和刘汝佳系列,看到太少,只要
阅读全文
摘要:The Cow Lexicon Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 9041 Accepted: 4293 Description Few know that the cows have their own dicti
阅读全文
摘要:http://acm.hust.edu.cn/vjudge/contest/view.action?cid=105116#problem/C 紫书P276 res[i][j]表示第一个序列移动i个,第二个序列移动j个之后有几个已经出现但尚未结束,dp[i][j]表示第一个序列移动i个,第二个序列移动
阅读全文
摘要:Radar Installation Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 68597 Accepted: 15373 Description Assume the coasting is an infinite str
阅读全文
摘要:The Pilots Brothers' refrigerator Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 22057 Accepted: 8521 Special Judge Description The game “
阅读全文
摘要:Flip Game Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 37050 Accepted: 16122 Description Flip game is played on a rectangular 4x4 field
阅读全文
摘要:紫书P275:http://acm.hust.edu.cn/vjudge/contest/view.action?cid=105116#problem/APOJhttp://poj.org/problem?id=1260两个题一种类型:UVA11400 : n个灯泡可以选择,每个灯泡有四个属性,v需...
阅读全文
摘要:紫书P274题意:输入N首歌曲和最后剩余的时间t,问在保证能唱的歌曲数目最多的情况下,时间最长;最后必唱《劲歌金曲》所以就在最后一秒唱劲歌金曲就ok了,背包容量是t-1,来装前面的歌曲,设两个Time求时间,cnt是数量#include #include #include #include usin...
阅读全文
摘要:AlignmentTime Limit:1000MSMemory Limit:30000KTotal Submissions:15135Accepted:4911DescriptionIn the army, a platoon is composed by n soldiers. During t...
阅读全文
摘要:C. Watering Flowerstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputA flowerbed has many flowers ...
阅读全文
摘要:http://acm.hust.edu.cn/vjudge/problem/viewProblem.action?id=18206题意:M*N的数阵,从左边一列到右边一列走过的数的和的最小。并输出路径和最小值,每一个数能右上,右,右下三种决策,第一行右上是第m行,第m行右下是第1行。dp【i】【j】...
阅读全文
摘要:http://acm.hust.edu.cn/vjudge/problem/viewProblem.action?id=19440 题意,4堆不同颜色的糖果,每堆N个,从堆上往下拿,放入一个最大装5个糖果的篮子里,如果糖果颜色相同就能将这两个放入自己口袋,问最多能放多少 分析:dp[1][2][3]
阅读全文
摘要:TourTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 3929Accepted: 1761DescriptionJohn Doe, a skilled pilot, enjoys traveling. While on vacati...
阅读全文
摘要:treeAccepts: 143Submissions: 807Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/65536 K (Java/Others)问题描述有一个树(nn个点, n-1n−1条边的联通图),点标号从11~nn,...
阅读全文