07 2017 档案

摘要:题目链接 Problem Description As to a permutation p1,p2,⋯,pn from 1 to n, it is uncomplicated for each 1≤i≤n to calculate (li,ri) meeting the condition tha 阅读全文
posted @ 2017-07-30 11:16 茶飘香~ 阅读(494) 评论(0) 推荐(0) 编辑
摘要:题目链接 Problem Description There is a tree with n nodes, each of which has a type of color represented by an integer, where the color of node i is ci.Th 阅读全文
posted @ 2017-07-30 10:36 茶飘香~ 阅读(384) 评论(0) 推荐(0) 编辑
摘要:题目链接 Problem Description sd0061, the legend of Beihang University ACM-ICPC Team, retired last year leaving a group of noobs. Noobs have no idea how to 阅读全文
posted @ 2017-07-28 15:45 茶飘香~ 阅读(704) 评论(0) 推荐(0) 编辑
摘要:题目链接 Problem Description Once upon a time Matt went to a small town. The town was so small and narrow that he can regard the town as a pivot. There we 阅读全文
posted @ 2017-07-27 21:25 茶飘香~ 阅读(342) 评论(0) 推荐(0) 编辑
摘要:题目链接 Problem Description Talented Mr.Tang has n strings consisting of only lower case characters. He wants to charge them with Balala Power (he could 阅读全文
posted @ 2017-07-27 19:31 茶飘香~ 阅读(294) 评论(0) 推荐(0) 编辑
摘要:题目链接 Problem Description You are a rich person, and you think your wallet is too heavy and full now. So you want to give me some money by buying a lov 阅读全文
posted @ 2017-07-18 22:01 茶飘香~ 阅读(418) 评论(0) 推荐(0) 编辑
摘要:题目链接 DESCRIPTION INPUT OUTPUT SAMPLE INPUT 2 3 2 3 5 7 3 10 3 5 7 SAMPLE OUTPUT 12 26 HINT 官方题解: 代码如下: 阅读全文
posted @ 2017-07-16 21:48 茶飘香~ 阅读(192) 评论(0) 推荐(0) 编辑
摘要:题目链接 DESCRIPTION INPUT 题目链接 DESCRIPTION INPUT INPUT INPUT OUTPUT OUTPUT SAMPLE INPUT 1 4 2 1 2 5 2 3 5 3 4 5 5 5 SAMPLE INPUT 1 4 2 1 2 5 2 3 5 3 4 5 阅读全文
posted @ 2017-07-16 21:21 茶飘香~ 阅读(466) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示