上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 21 下一页
摘要: 唉 自己没想出来 二刷再来看吧 #include#include#include#include#include#include#... 阅读全文
posted @ 2020-08-10 10:26 _Hsiung 阅读(55) 评论(0) 推荐(0) 编辑
摘要: #include#include#include#include#include#include#includeusing nam... 阅读全文
posted @ 2020-08-09 21:32 _Hsiung 阅读(41) 评论(0) 推荐(0) 编辑
摘要: #include#include#include#include#include#include#includeusing nam... 阅读全文
posted @ 2020-08-09 15:48 _Hsiung 阅读(50) 评论(0) 推荐(0) 编辑
摘要: ** 思路:用两个Dijkstra。一个求最短路径(如果相同求时间最短的那条),一个求最快路径(如果相同求结点数最小的那条) 数组记... 阅读全文
posted @ 2020-08-09 10:32 _Hsiung 阅读(83) 评论(0) 推荐(0) 编辑
摘要: 照相排队真站位问题 高的站中间 矮的站两边 思路:排序后中间插高的,以这个为结点,左右插入最高的 #include#include... 阅读全文
posted @ 2020-08-08 23:30 _Hsiung 阅读(56) 评论(0) 推荐(0) 编辑
摘要: #include#include#include#include#include#include using namespace ... 阅读全文
posted @ 2020-08-08 09:33 _Hsiung 阅读(42) 评论(0) 推荐(0) 编辑
摘要: 先算出行列,然后算出层数和行数的关系,然后每一层再每个边赋值,类似于这样循环赋值找出关系就行 #include#include#... 阅读全文
posted @ 2020-08-07 22:12 _Hsiung 阅读(67) 评论(0) 推荐(0) 编辑
摘要: 思路:fac[0]=0 fac[1]=1 fac[2]=4…先存fac数组,再对这个数组进行深度优先搜索。 #include#in... 阅读全文
posted @ 2020-08-07 15:49 _Hsiung 阅读(49) 评论(0) 推荐(0) 编辑
摘要: #include#include#include#include#include#include#include#include#... 阅读全文
posted @ 2020-08-07 10:38 _Hsiung 阅读(39) 评论(0) 推荐(0) 编辑
摘要: #include#include#include#include#include#include#include#include#... 阅读全文
posted @ 2020-08-06 21:26 _Hsiung 阅读(30) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 21 下一页