• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
HaibaraAi
博客园    首页    新随笔    联系   管理    订阅  订阅
2013年10月8日
Uva 11877 - The Coco-Cola Store
摘要: 你为何这么叼!The Coco-Cola StoreTime limit: 1.000 seconds� Once upon a time, there is a special coco-cola store. If you return three empty bottles to the shop, you'll get a full bottle of coco-cola to drink. If you have n empty bottles right in your hand, how many full bottles of coco-cola can you dri 阅读全文
posted @ 2013-10-08 22:52 HaibaraAi 阅读(124) 评论(0) 推荐(0)
Warm up 3 [I] Eligibility
摘要: 为何你这么叼![I] EligibilityRegional Contest Director Osama Ismail knows that an individual cannot participate in the regional contest more than 5 times. Given a list of contestant names and the previous years they participated in, print which contestant is eligible.Input Specification The first line of t 阅读全文
posted @ 2013-10-08 21:50 HaibaraAi 阅读(111) 评论(0) 推荐(0)
Contest2037 - CSU Monthly 2013 Oct (problem E 1322: ZZY‘s new company)
摘要: 1322: ZZY‘s new companyTime Limit: 3 SecMemory Limit: 312 MBSubmit: 118Solved: 13[Submit][Status][Web Board]Description zzy开了一家公司,然后他为公司制定了人事制度:为每个员工都定一个直接的上属(除了zzy自己),这样就把公司表示成了一个树形的人事关系图,树的最顶端就是zzy自己。如果a的直接上属是b则称a是b的一级下属,接下去的依次称为2级、3级……k级下属。 由于如zzy奇葩的想法,他将改变一部分员工的工资,方法依旧是将员工原来的工资异或一个数,得到新的工资。Input 阅读全文
posted @ 2013-10-08 18:25 HaibaraAi 阅读(155) 评论(0) 推荐(0)
马上就要省赛了,这种程度怎么去打比赛!
摘要: 坐等再次被虐成狗的说! 阅读全文
posted @ 2013-10-08 08:28 HaibaraAi 阅读(190) 评论(1) 推荐(1)
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3