摘要:
英文题目:https://pintia.cn/problem-sets/994805342720868352/problems/994805354762715136 中文题目:https://pintia.cn/problem-sets/994805260223102976/problems/994 阅读全文
posted @ 2020-03-19 18:41
tangq123
阅读(197)
评论(0)
推荐(0)
摘要:
英文题目:https://pintia.cn/problem-sets/994805342720868352/problems/994805355358306304 中文题目:https://pintia.cn/problem-sets/994805260223102976/problems/994 阅读全文
posted @ 2020-03-19 17:04
tangq123
阅读(163)
评论(0)
推荐(0)
摘要:
这是一道模板题,要先记住大体流程,然后反复练习。 1 #include<iostream> 2 #include<algorithm> 3 using namespace std; 4 5 int father[10010]; 6 7 void init() { 8 for(int i = 1; i 阅读全文
posted @ 2020-03-19 15:42
tangq123
阅读(185)
评论(0)
推荐(0)
摘要:
英文题目:https://pintia.cn/problem-sets/994805342720868352/problems/994805352359378944 中文题目:https://pintia.cn/problem-sets/994805260223102976/problems/994 阅读全文
posted @ 2020-03-19 11:05
tangq123
阅读(146)
评论(0)
推荐(0)
摘要:
题目:https://pintia.cn/problem-sets/994805342720868352/problems/994805351814119424 大致题意就是给出一个图,K个不同的路径,判断是否是哈密尔顿路径,即包括图中所有顶点的环。 分析: 1,判断路径能否走通,能则输出NO,否则 阅读全文
posted @ 2020-03-19 10:26
tangq123
阅读(580)
评论(0)
推荐(0)

浙公网安备 33010602011771号