图和最短路
AC_Road
·
·
个人记录
普及组 DFS、BFS 与图的遍历
模板 / 例题真题
- P2661 [NOIP2015 提高组] 信息传递 https://www.luogu.com.cn/problem/P2661
- P5022 [NOIP2018 提高组] 旅行 https://www.luogu.com.cn/problem/P5022
- P2296 [NOIP2014 提高组] 寻找道路 https://www.luogu.com.cn/problem/P2296
- P5663 [CSP‑J 2019 T4] 加工零件 https://www.luogu.com.cn/problem/P5663
- P3956 [NOIP2017 普及组T3] 棋盘 https://www.luogu.com.cn/problem/P3956
- P11228 [CSP‑J 2024 T2] 地图探险 https://www.luogu.com.cn/problem/P11228
- P1434 [SHOI2002] 滑雪 https://www.luogu.com.cn/problem/P1434
- P5018 [NOIP2018 普及组T4] 对称二叉树 https://www.luogu.com.cn/problem/P5018
- P1074 [NOIP2009 提高组] 靶形数独 https://www.luogu.com.cn/problem/P1074
- P1092 [NOIP2004 提高组] 虫食算 https://www.luogu.com.cn/problem/P1092
- P1032 [NOIP2002 提高组] 字串变换 https://www.luogu.com.cn/problem/P1032
- P1030 [NOIP2001 普及组] 求先序排列 https://www.luogu.com.cn/problem/P1030
- P1101 [NOIP2004 普及组] FBI树 https://www.luogu.com.cn/problem/P1101
- P1983 [NOIP2013 普及组T4] 车站分级 https://www.luogu.com.cn/problem/P1983
- P7113 [NOIP2020 T1] 排水系统 https://www.luogu.com.cn/problem/P7113
- P7771 【模板】欧拉路径 https://www.luogu.com.cn/problem/P7771
- P1525 [NOIP2010 提高组] 关押罪犯 https://www.luogu.com.cn/problem/P1525
- P10927 Sightseeing Trip(最小简单环) https://www.luogu.com.cn/problem/P10927
练习清单
第一级·必做
- P5318 查找文献 https://www.luogu.com.cn/problem/P5318
- P3916 图的遍历 https://www.luogu.com.cn/problem/P3916
- P1443 马的遍历 https://www.luogu.com.cn/problem/P1443
- P1596 Lake Counting https://www.luogu.com.cn/problem/P1596
- P1101 单词方阵 https://www.luogu.com.cn/problem/P1101
- P1141 01迷宫 https://www.luogu.com.cn/problem/P1141
- P11228 [CSP‑J 2024 T2] 地图探险 https://www.luogu.com.cn/problem/P11228
- P1030 [NOIP2001 普及组] 求先序排列 https://www.luogu.com.cn/problem/P1030
- P1101 [NOIP2004 普及组] FBI树 https://www.luogu.com.cn/problem/P1101
- P1434 [SHOI2002] 滑雪 https://www.luogu.com.cn/problem/P1434
第二级·进阶:真题与常见模型
- P2296 [NOIP2014 提高组] 寻找道路 https://www.luogu.com.cn/problem/P2296
- P5663 [CSP‑J 2019 T4] 加工零件 https://www.luogu.com.cn/problem/P5663
- P3956 [NOIP2017 普及组T3] 棋盘 https://www.luogu.com.cn/problem/P3956
- P2661 [NOIP2015 提高组] 信息传递 https://www.luogu.com.cn/problem/P2661
- P5018 [NOIP2018 普及组T4] 对称二叉树 https://www.luogu.com.cn/problem/P5018
- P1219 八皇后 https://www.luogu.com.cn/problem/P1219
- P1983 [NOIP2013 普及组T4] 车站分级 https://www.luogu.com.cn/problem/P1983
- P2661 [NOIP2003 提高组] 神经网络 https://www.luogu.com.cn/problem/P2661
- P7113 [NOIP2020 T1] 排水系统 https://www.luogu.com.cn/problem/P7113
第三级·选做挑战
- P5022 [NOIP2018 提高组] 旅行 https://www.luogu.com.cn/problem/P5022
- P1074 [NOIP2009 提高组] 靶形数独 https://www.luogu.com.cn/problem/P1074
- P1092 [NOIP2004 提高组] 虫食算 https://www.luogu.com.cn/problem/P1092
- P1032 [NOIP2002 提高组] 字串变换 https://www.luogu.com.cn/problem/P1032
- P1099 [NOIP2007 提高组] 树网的核 https://www.luogu.com.cn/problem/P1099
- P1525 [NOIP2010 提高组] 关押罪犯 https://www.luogu.com.cn/problem/P1525
- P7074 [CSP‑J 2020 T4] 方格取数 https://www.luogu.com.cn/problem/P7074
提高组 最短路
模板题
- LOJ 119 Bellman‑Ford模板 https://loj.ac/p/119
- P3371 【模板】单源最短路径(弱化版)SPFA https://www.luogu.com.cn/problem/P3371
- P3385 【模板】负环 https://www.luogu.com.cn/problem/P3385
- P4779 【模板】单源最短路径(标准版)Dijkstra https://www.luogu.com.cn/problem/P4779
- P5960 【模板】差分约束算法 https://www.luogu.com.cn/problem/P5960
- P5905 【模板】Johnson 全源最短路 https://www.luogu.com.cn/problem/P5905
例题
- P4568 [JLOI2011] 飞行路线(分层图Dijkstra,最多忽略k条边) https://www.luogu.com.cn/problem/P4568
- CF1473E Minimum Path https://codeforces.com/problemset/problem/1473/E
- P6880 [JOI2020] 奥运公交 https://www.luogu.com.cn/problem/P6880
- P10927 Sightseeing Trip(最小简单环,Floyd) https://www.luogu.com.cn/problem/P10927
- P5590 赛车游戏(差分约束构造边权) https://www.luogu.com.cn/problem/P5590