• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
p_eleven
博客园 | 首页 | 新随笔 | 新文章 | 联系 | 订阅 订阅 | 管理

2013年12月4日

POJ 1276 Cash Machine
摘要: Cash MachineTime Limit:1000MSMemory Limit:10000KTotal Submissions:24825Accepted:8701DescriptionA Bank plans to install a machine for cash withdrawal. The machine is able to deliver appropriate @ bills for a requested cash amount. The machine uses exactly N distinct bill denominations, say Dk, k=1,N, 阅读全文
posted @ 2013-12-04 20:24 p_eleven 阅读(120) 评论(0) 推荐(0)
 
 

2013年11月26日

POJ 1208 The Blocks Problem
摘要: The Blocks ProblemTime Limit:1000MSMemory Limit:10000KTotal Submissions:4121Accepted:1671DescriptionMany areas of Computer Science use simple, abstract domains for both analytical and empirical studies. For example, an early AI study of planning and robotics (STRIPS) used a block world in which a ro 阅读全文
posted @ 2013-11-26 23:43 p_eleven 阅读(296) 评论(0) 推荐(0)
 
 

2013年11月23日

POJ 1189 钉子和小球(DP)
摘要: 钉子和小球Time Limit:1000MSMemory Limit:10000KTotal Submissions:6669Accepted:1982Description有一个三角形木板,竖直立放,上面钉着n(n+1)/2颗钉子,还有(n+1)个格子(当n=5时如图1)。每颗钉子和周围的钉子的距离都等于d,每个格子的宽度也都等于d,且除了最左端和最右端的格子外每个格子都正对着最下面一排钉子的间隙。让一个直径略小于d的小球中心正对着最上面的钉子在板上自由滚落,小球每碰到一个钉子都可能落向左边或右边(概率各1/2),且球的中心还会正对着下一颗将要碰上的钉子。例如图2就是小球一条可能的路径。我们 阅读全文
posted @ 2013-11-23 21:18 p_eleven 阅读(174) 评论(0) 推荐(0)
 
 

2013年11月21日

POJ 1179 Polygon
摘要: PolygonTime Limit:1000MSMemory Limit:10000KTotal Submissions:4602Accepted:1921DescriptionPolygon is a game for one player that starts on a polygon with N vertices, like the one in Figure 1, where N=4. Each vertex is labelled with an integer and each edge is labelled with either the symbol + (additio 阅读全文
posted @ 2013-11-21 13:26 p_eleven 阅读(237) 评论(0) 推荐(0)
 
 

2013年11月15日

POJ1157 LITTLE SHOP OF FLOWERS
摘要: LITTLE SHOP OF FLOWERSTime Limit:1000MSMemory Limit:10000KTotal Submissions:16755Accepted:7753DescriptionYou want to arrange the window of your flower shop in a most pleasant way. You have F bunches of flowers, each being of a different kind, and at least as many vases ordered in a row. The vases ar 阅读全文
posted @ 2013-11-15 01:14 p_eleven 阅读(141) 评论(0) 推荐(0)
 
 

公告


博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3