• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录

  • 博客园
  • 联系
  • 订阅
  • 管理

2015年8月9日

Program D--贪心-区间覆盖

摘要: Given several segments of line (int the X axis) with coordinates [Li,Ri]. You are to choose the minimal amount of them, such they would completely cov... 阅读全文

posted @ 2015-08-09 20:42 tony-cao 阅读(113) 评论(0) 推荐(0)

Program C--二分

摘要: My birthday is coming up and traditionally I’m serving pie. Not just one pie, no, I have a number N of them, of various tastes and of various sizes. F... 阅读全文

posted @ 2015-08-09 20:33 tony-cao 阅读(97) 评论(0) 推荐(0)

Program A-归并排序

摘要: DescriptionIn this problem, you have to analyze a particular sorting algorithm. The algorithm processes a sequence of n distinct integers by swapping ... 阅读全文

posted @ 2015-08-09 20:18 tony-cao 阅读(137) 评论(0) 推荐(0)

Program E-- CodeForces 18C

摘要: DescriptionOnce Bob took a paper stripe of n squares (the height of the stripe is 1 square). In each square he wrote an integer number, possibly negat... 阅读全文

posted @ 2015-08-09 20:03 tony-cao 阅读(140) 评论(0) 推荐(0)

Program B--CodeForces 492B

摘要: DescriptionVanya walks late at night along a straight street of length l, lit by n lanterns. Consider the coordinate system with the beginning of the ... 阅读全文

posted @ 2015-08-09 19:36 tony-cao 阅读(341) 评论(0) 推荐(0)

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