随笔分类 -  图论

Codeforces Round #385 (Div. 2) Hongcow Builds A Nation —— 图论计数
摘要:题目链接:http://codeforces.com/contest/745/problem/C C. Hongcow Builds A Nation time limit per test 2 seconds memory limit per test 256 megabytes input st 阅读全文

posted @ 2018-01-15 16:43 h_z_cong 阅读(258) 评论(0) 推荐(0)

Codeforces Round #383 (Div. 2) C. Arpa's loud Owf and Mehrdad's evil plan —— DFS找环
摘要:题目链接:http://codeforces.com/contest/742/problem/C C. Arpa's loud Owf and Mehrdad's evil plan time limit per test 1 second memory limit per test 256 meg 阅读全文

posted @ 2017-07-14 08:57 h_z_cong 阅读(188) 评论(0) 推荐(0)

Codeforces Round #407 (Div. 1) B. Weird journey —— dfs + 图
摘要:题目链接:http://codeforces.com/problemset/problem/788/BB. Weird journeytime limit per test2 secondsmemory limit per test256 megabytesinput... 阅读全文

posted @ 2017-07-09 22:34 h_z_cong 阅读(132) 评论(0) 推荐(0)

Codeforces Beta Round #88 C. Cycle —— DFS(找环)
摘要:题目链接:http://codeforces.com/problemset/problem/117/C C. Cycle time limit per test 2.5 seconds memory limit per test 256 megabytes input standard input 阅读全文

posted @ 2017-07-03 14:35 h_z_cong 阅读(200) 评论(0) 推荐(0)

Codeforces Round #379 (Div. 2) E. Anton and Tree —— 缩点 + 树上最长路
摘要:题目链接:http://codeforces.com/contest/734/problem/E E. Anton and Tree time limit per test 3 seconds memory limit per test 256 megabytes input standard in 阅读全文

posted @ 2017-06-11 16:21 h_z_cong 阅读(191) 评论(0) 推荐(0)

Codeforces Round #369 (Div. 2) D. Directed Roads —— DFS找环 + 快速幂
摘要:题目链接:http://codeforces.com/problemset/problem/711/D D. Directed Roads time limit per test 2 seconds memory limit per test 256 megabytes input standard 阅读全文

posted @ 2017-05-19 21:58 h_z_cong 阅读(174) 评论(0) 推荐(0)

导航