随笔分类 -  图论 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. 阅读全文
posted @ 2016-03-13 20:49 qscqesze 阅读(467) 评论(0) 推荐(1) 编辑
摘要: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 阅读全文
posted @ 2016-03-13 00:03 qscqesze 阅读(383) 评论(0) 推荐(0) 编辑
摘要: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 阅读全文
posted @ 2016-02-22 00:55 qscqesze 阅读(530) 评论(0) 推荐(0) 编辑
摘要:<center City Driving</center 题目连接:http://codeforces.com/gym/100015/attachments DescriptionYou recently started frequenting San Francisco in your fre... 阅读全文
posted @ 2016-01-16 20:09 qscqesze 阅读(372) 评论(0) 推荐(0) 编辑
摘要:JourneyTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://acm.uestc.edu.cn/#/problem/show/92DescriptionBob has traveled to byteland, he find theNcities ... 阅读全文
posted @ 2015-09-24 20:30 qscqesze 阅读(487) 评论(0) 推荐(0) 编辑
摘要:B. BribesTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://codeforces.com/contest/575/problem/BDescriptionRuritania is a country with a very badly main... 阅读全文
posted @ 2015-09-06 22:49 qscqesze 阅读(441) 评论(2) 推荐(0) 编辑

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