摘要: 1005: 简单模拟,数组打表 1 #include<bits/stdc++.h> 2 using namespace std; 3 #define int long long 4 #define IOS ios_base::sync_with_stdio(0);cin.tie(0);cout.ti 阅读全文
posted @ 2022-09-25 20:21 江上舟摇 阅读(16) 评论(0) 推荐(0) 编辑
摘要: https://pintia.cn/problem-sets/994805342720868352/problems/994805523835109376 朴素dijkstra+pre记录前驱+dfs输出前驱 朴素dijkstra,升级版是天梯赛l2-1紧急救援 1 #include<bits/st 阅读全文
posted @ 2022-09-25 18:51 江上舟摇 阅读(7) 评论(0) 推荐(0) 编辑
摘要: https://pintia.cn/problem-sets/994805342720868352/problems/994805521431773184 普通静态数遍历 1 #include<bits/stdc++.h>//dfs 2 using namespace std; 3 #define 阅读全文
posted @ 2022-09-25 18:48 江上舟摇 阅读(14) 评论(0) 推荐(0) 编辑