摘要: 题目链接 http://acm.split.hdu.edu.cn/showproblem.php?pid=4745 题意:两只兔子,在n块围成一个环形的石头上跳跃,每块石头有一个权值ai,一只从左往右跳,一只从右往左跳,每跳一次,两只兔子所在的石头的权值都要相等,在一圈内(各自不能超过各自的起点,也 阅读全文
posted @ 2016-09-10 21:52 茶飘香~ 阅读(392) 评论(0) 推荐(0) 编辑
摘要: 题目链接 http://acm.split.hdu.edu.cn/showproblem.php?pid=4283 Problem Description The TV shows such as You Are the One has been very popular. In order to 阅读全文
posted @ 2016-09-10 19:59 茶飘香~ 阅读(651) 评论(0) 推荐(0) 编辑
摘要: 题目链接 http://acm.split.hdu.edu.cn/showproblem.php?pid=5877 Problem Description You are given a rooted tree of N nodes, labeled from 1 to N. To the ith 阅读全文
posted @ 2016-09-10 19:11 茶飘香~ 阅读(481) 评论(0) 推荐(0) 编辑