随笔分类 -  图论

摘要:D. Substring time limit per test 3 seconds memory limit per test 256 megabytes You are given a graph with n nodes and m directed edges. One lowercase 阅读全文
posted @ 2018-02-01 23:08 你的女孩居居 阅读(416) 评论(0) 推荐(0)
摘要:题目: An ascending sorted sequence of distinct values is one in which some form of a less-than operator is used to order the elements from smallest to l 阅读全文
posted @ 2017-12-02 15:25 你的女孩居居 阅读(258) 评论(0) 推荐(0)
摘要:题目链接:https://www.luogu.org/problem/show?pid=1525#sub 题目描述 S 城现有两座监狱,一共关押着N 名罪犯,编号分别为1~N。他们之间的关系自然也极不和谐。很多罪犯之间甚至积怨已久,如果客观条件具备则随时可能爆发冲突。我们用“怨气值”(一个正整数值) 阅读全文
posted @ 2017-10-24 20:36 你的女孩居居 阅读(234) 评论(0) 推荐(0)