上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 18 下一页
摘要: Problem DescriptionFang Fang says she wants to be remembered.I promise her. We define the sequenceFof strings.F0=‘‘f",F1=‘‘ff",F2=‘‘cff",Fn=Fn−1+‘‘f",... 阅读全文
posted @ 2015-09-19 18:53 pb2016 阅读(128) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionThere arenpeople andmpairs of friends. For every pair of friends, they can choose to become online friends (communicating using onl... 阅读全文
posted @ 2015-09-15 14:36 pb2016 阅读(167) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionPrincess Alisha invites her friends to come to her birthday party. Each of her friends will bring a gift of some valuev, and all of... 阅读全文
posted @ 2015-09-14 19:57 pb2016 阅读(172) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionThere arenkids and they want to know who can jump the farthest. For each kid, he can jump three times and the distance he jumps is ... 阅读全文
posted @ 2015-09-11 18:56 pb2016 阅读(257) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionAlexandra has a little brother. He is new to programming. One day he is solving the following problem: Given an positive integer N,... 阅读全文
posted @ 2015-09-07 19:01 pb2016 阅读(205) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionThere are many people's name and birth in a list.Your task is to print the name from young to old.(There is no pair of two has the ... 阅读全文
posted @ 2015-09-05 20:55 pb2016 阅读(277) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionMZL loves xor very much.Now he gets an array A.The length of A is n.He wants to know the xor of all (Ai+Aj)(1≤i,j≤n) The xor of an ... 阅读全文
posted @ 2015-09-05 11:50 pb2016 阅读(160) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionAs we know, Rikka is poor at math. Yuta is worrying about this situation, so he gives Rikka some math tasks to practice. There is o... 阅读全文
posted @ 2015-08-31 22:46 pb2016 阅读(156) 评论(0) 推荐(0) 编辑
摘要: Problem Description有一台机器,并且给你这台机器的工作表,工作表上有n个任务,机器在ti时间执行第i个任务,1秒即可完成1个任务。 有m个询问,每个询问有一个数字q,表示如果在q时间有一个工作表之外的任务请求,请计算何时这个任务才能被执行。 机器总是按照工作表执行,当机器空闲时立即... 阅读全文
posted @ 2015-08-29 21:16 pb2016 阅读(202) 评论(0) 推荐(0) 编辑
摘要: Problem Description给你n个点,m条无向边,每条边都有长度d和花费p,给你起点s终点t,要求输出起点到终点的最短距离及其花费,如果最短距离有多条路线,则输出花费最少的。Input输入n,m,点的编号是1~n,然后是m行,每行4个数 a,b,d,p,表示a和b之间有一条边,且其长度为... 阅读全文
posted @ 2015-08-28 14:43 pb2016 阅读(580) 评论(0) 推荐(2) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 18 下一页