随笔分类 -  图论-并查集

摘要:Marked AncestorTime limit 8000 ms Memory limit 131072 kBProblem DescriptionYou are given a tree T that consists of N nodes. Each node ... 阅读全文
posted @ 2018-03-24 20:17 GoldenFingers 阅读(199) 评论(0) 推荐(0) 编辑
摘要:Find them, Catch themTime Limit: 1000MS Memory Limit: 10000K Total Submissions: 49867 Accepted: 15320DescriptionThe police... 阅读全文
posted @ 2018-03-24 20:00 GoldenFingers 阅读(130) 评论(0) 推荐(0) 编辑
摘要:Wireless NetworkTime Limit: 10000MS Memory Limit: 65536K Total Submissions: 34265 Accepted: 14222DescriptionAn earthquake t... 阅读全文
posted @ 2018-03-24 19:40 GoldenFingers 阅读(210) 评论(0) 推荐(0) 编辑
摘要:D. Love Rescuetime limit per test2 seconds memory limit per test256 megabytesProblem DescriptionValya and Tolya are an ideal pair, but... 阅读全文
posted @ 2018-03-01 15:26 GoldenFingers 阅读(133) 评论(0) 推荐(0) 编辑
摘要:Bug’s LifeTime Limit: 10000MS Memory Limit: 65536KDescriptionBackground Professor Hopper is researching the sexual behavior of a rare... 阅读全文
posted @ 2018-01-28 20:13 GoldenFingers 阅读(124) 评论(0) 推荐(0) 编辑
摘要:食物链Time Limit: 1000MS Memory Limit: 10000KDescription动物王国中有三类动物A,B,C,这三类动物的食物链构成了有趣的环形。A吃B, B吃C,C吃A。 现有N个动物,以1-N编号。每个动物都是A,B,C中的... 阅读全文
posted @ 2017-07-30 15:46 GoldenFingers 阅读(171) 评论(0) 推荐(0) 编辑
摘要:老司机的奇幻漂流 UESTC - 1594Problem Description老司机在救出了女票之后,就和她在全世界旅游,有一天,他们来到了一个神奇的小岛上。 这个小岛上有三种动物,他们互相克制,就像虚空追猎凤凰石头剪刀布一样,他们形成了一个食物环。 热爱小动物... 阅读全文
posted @ 2017-07-30 14:41 GoldenFingers 阅读(154) 评论(0) 推荐(0) 编辑
摘要:老司机破阵Time Limit: 4500/1500MS (Java/Others) Memory Limit: 65535/65535KB (Java/Others) Problem Description老司机的女朋友被坏人抓起来了,护女票心切的老司机心急... 阅读全文
posted @ 2017-07-24 21:17 GoldenFingers 阅读(162) 评论(0) 推荐(0) 编辑
摘要:F. PalindromeProblem DescriptionA string is palindrome if it can be read the same way in either direction, for example “maram” is pali... 阅读全文
posted @ 2017-07-20 20:32 GoldenFingers 阅读(154) 评论(0) 推荐(0) 编辑
摘要:Virtual FriendsTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 9179 Accept... 阅读全文
posted @ 2017-07-20 19:03 GoldenFingers 阅读(91) 评论(0) 推荐(0) 编辑
摘要:D-CityTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65535/65535 K (Java/Others) Total Submission(s): 2448 Accepted Submis... 阅读全文
posted @ 2017-07-20 09:51 GoldenFingers 阅读(121) 评论(0) 推荐(0) 编辑
摘要:畅通工程Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 30160 Accepted Submiss... 阅读全文
posted @ 2017-07-19 16:53 GoldenFingers 阅读(139) 评论(0) 推荐(0) 编辑
摘要:How Many TablesTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 31632 Accep... 阅读全文
posted @ 2017-07-19 16:14 GoldenFingers 阅读(127) 评论(0) 推荐(0) 编辑
摘要:WorkHDU原题地址:http://acm.hdu.edu.cn/showproblem.php?pid=5326 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java... 阅读全文
posted @ 2017-07-19 15:50 GoldenFingers 阅读(157) 评论(0) 推荐(0) 编辑

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