上一页 1 ··· 9 10 11 12 13 14 15 下一页
摘要: 题目链接 "Network of Schools" 题意 :给你一个学校的单向连通图,1:问你至少选几个学校发放软件才能使全部学校都收到,2:问你至少添加几条边才能使全部的学校够成一个强连通分量 题解 :求出强连通分量个数,然后找到强量通分量入度为0的个数res,这是第一个的答案(注意只有一个强连通 阅读全文
posted @ 2017-10-12 22:13 lhclqslove 阅读(116) 评论(0) 推荐(0)
摘要: "题目链接" 题解:求强连通分量个数以及拓扑序,只有拓扑序的最后一个强连通分量有可能是解,然后判断一下最后一个强连通是否所有顶点可达就好了, // include include include include define pb push_back define ll long long defi 阅读全文
posted @ 2017-10-12 21:56 lhclqslove 阅读(131) 评论(0) 推荐(0)
摘要: C. Kyoya and Colored Balls time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Kyoya Ootori 阅读全文
posted @ 2017-10-06 15:33 lhclqslove 阅读(156) 评论(0) 推荐(0)
摘要: 题目链接:https://vjudge.net/contest/187496#problem/E E Excellent Engineers You are working for an agency that selects the best software engineers from Bel 阅读全文
posted @ 2017-10-02 16:32 lhclqslove 阅读(309) 评论(0) 推荐(0)
摘要: E. Packmen time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output A game field is a strip of 1 × 阅读全文
posted @ 2017-09-22 23:16 lhclqslove 阅读(214) 评论(0) 推荐(0)
摘要: 题目链接:http://codeforces.com/problemset/problem/847/I I. Noise Level time limit per test 5 seconds memory limit per test 256 megabytes input standard in 阅读全文
posted @ 2017-09-22 22:22 lhclqslove 阅读(263) 评论(0) 推荐(0)
摘要: Problem F. Text Editor Input file: stdin Output file: stdout Time limit: 1 second Memory limit: 64 megabytes The simplest text editor “Open Word” allo 阅读全文
posted @ 2017-09-14 20:50 lhclqslove 阅读(251) 评论(0) 推荐(0)
摘要: A. Arpa and a research in Mexican wave time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Ar 阅读全文
posted @ 2017-09-05 19:51 lhclqslove 阅读(151) 评论(0) 推荐(0)
摘要: A. Kirill And The Game time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Kirill plays a ne 阅读全文
posted @ 2017-08-30 16:32 lhclqslove 阅读(103) 评论(0) 推荐(0)
摘要: A. Diversity time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Calculate the minimum number 阅读全文
posted @ 2017-08-28 13:29 lhclqslove 阅读(295) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 15 下一页