摘要:
你为何这么叼!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)
摘要:
为何你这么叼![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)
摘要:
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)
浙公网安备 33010602011771号