摘要: 实现这个自定义遍历的思路就是直接层序遍历存入一个数组,然后对这个数组自定义排序,然后输出就行了 #include#include#... 阅读全文
posted @ 2020-08-11 23:21 _Hsiung 阅读(54) 评论(0) 推荐(0) 编辑
摘要: 欧拉图 节点度为0或2 半欧拉两个结点度为奇数,其他偶数。 同时要保证其为连通图(任意两个结点能走到) #include#incl... 阅读全文
posted @ 2020-08-11 21:13 _Hsiung 阅读(97) 评论(0) 推荐(0) 编辑
摘要: #include#include#include#include#include#include#include#includeu... 阅读全文
posted @ 2020-08-11 08:26 _Hsiung 阅读(56) 评论(0) 推荐(0) 编辑