随笔分类 - 图论 lca
摘要:Annoying problem 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5293 Description Coco has a tree, whose vertices are conveniently labeled by 1,2,…,n.
阅读全文
摘要:Annoying problem 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5296 Description Coco has a tree, whose nodes are conveniently labeled by 1,2,…,n, wh
阅读全文
摘要:E. Famil Door and Roads 题目连接: http://www.codeforces.com/contest/629/problem/E Description Famil Door’s City map looks like a tree (undirected connecte
阅读全文
摘要:<center City Driving</center 题目连接:http://codeforces.com/gym/100015/attachments DescriptionYou recently started frequenting San Francisco in your fre...
阅读全文
摘要:JourneyTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://acm.uestc.edu.cn/#/problem/show/92DescriptionBob has traveled to byteland, he find theNcities ...
阅读全文
摘要:B. BribesTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://codeforces.com/contest/575/problem/BDescriptionRuritania is a country with a very badly main...
阅读全文