摘要:
题目链接:https://www.luogu.com.cn/problem/P4016 1 #include<bits/stdc++.h> 2 using namespace std; 3 const int N=211,M=4011,inf=1<<29; 4 int n,m,st,ed,a[N], 阅读全文
posted @ 2021-08-17 23:21
上官书房
阅读(41)
评论(0)
推荐(0)
摘要:
题目链接:https://www.luogu.com.cn/problem/P2761 1 #include<bits/stdc++.h> 2 #define ll long long 3 using namespace std; 4 const int N=2e6+11; 5 const ll i 阅读全文
posted @ 2021-08-17 15:02
上官书房
阅读(38)
评论(0)
推荐(0)
摘要:
题目源自洛谷,题目顺序按洛谷上难度由低到高排序,4蓝19紫1黑 Update 21.8.18:坑太深,慢慢填 1.孤岛营救问题:https://www.cnblogs.com/shangguanshufang/p/wang_luo_liu_24_ti_1_gu_dao_ying_jiu_wen_ti 阅读全文
posted @ 2021-08-17 11:59
上官书房
阅读(37)
评论(0)
推荐(1)
摘要:
题目链接:https://www.luogu.com.cn/problem/P2756 1 #include<bits/stdc++.h> 2 #define ll long long 3 using namespace std; 4 const int N=211,M=40011,inf=1<<2 阅读全文
posted @ 2021-08-17 11:53
上官书房
阅读(53)
评论(0)
推荐(0)
摘要:
题目链接:https://www.luogu.com.cn/problem/P4011 1 #include<bits/stdc++.h> 2 using namespace std; 3 const int N=21,M=1<<15; 4 const int dx[11]={1,-1,0,0},d 阅读全文
posted @ 2021-08-17 11:48
上官书房
阅读(60)
评论(0)
推荐(0)

浙公网安备 33010602011771号