摘要: 希尔排序 Accepted 1040 0MS 1224K 564 B G++ #include "cstdio" using namespace std; int arr[5000]; int main() { int t, n; scanf("%d", &t); while (t--) { sca 阅读全文
posted @ 2019-01-15 18:17 Jathon-cnblogs 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 太久没写最小生成树了,快忘光了。这几天回顾了一下 最小生成树一·Prim算法 AC G++ 369ms 17MB #include "cstdio" using namespace std; const int INF = 0x3f3f3f3f; int road[1005][1005]; int 阅读全文
posted @ 2019-01-15 13:05 Jathon-cnblogs 阅读(183) 评论(0) 推荐(0) 编辑