随笔分类 - 图论 二分图
摘要:Necklace/center 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5727 Description SJX has 2 N magic gems. N of them have Yin energy inside while others
阅读全文
摘要:Prince and Princess 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=4685 Description There are n princes and m princesses. Princess can marry any prin
阅读全文
摘要:4554: [Tjoi2016&Heoi2016]游戏 题目连接: http://www.lydsy.com/JudgeOnline/problem.php?id=4554 Description 在2016年,佳缘姐姐喜欢上了一款游戏,叫做泡泡堂。简单的说,这个游戏就是在一张地图上放上若干个炸弹,
阅读全文
摘要:Warm up 2 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=4619 Description Some 1×2 dominoes are placed on a plane. Each dominoe is placed either hori
阅读全文
摘要:Those are not the droids you're looking for 题目连接: http://acm.timus.ru/problem.aspx?space=1&num=1997 Description Bar owner: Hey. We don’t serve their k
阅读全文
摘要:C. Graph and String 题目连接: http://codeforces.com/contest/624/problem/C Description One day student Vasya was sitting on a lecture and mentioned a strin
阅读全文
摘要:<center Chamber of Secrets</center 题目连接:http://codeforces.com/problemset/problem/173/B Description"The Chamber of Secrets has been opened again" — t...
阅读全文
摘要:1143: [CTSC2008]祭祀riverTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://www.lydsy.com/JudgeOnline/problem.php?id=1143Description在遥远的东方,有一个神秘的民族,自称Y族。他...
阅读全文
摘要:质数相关Time Limit: 1 SecMemory Limit: 256 MB题目连接http://hihocoder.com/contest/msbop2015round2a/problem/3Description两个数a和 b (a#include #include #include #i...
阅读全文
摘要:Air RaidTime Limit: 1 SecMemory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=1151DescriptionConsider a town where all the streets are on...
阅读全文
摘要:Girls and BoysTime Limit: 1 SecMemory Limit: 256 MB题目连接http://poj.org/problem?id=1466DescriptionIn the second year of the university somebody started ...
阅读全文