摘要:
#include<iostream> #include<algorithm> #include <queue> using namespace std ; const int N=6e4,M=1e5+10; const int inf =1e9+7; int all=1,hd[N],go[M],w[ 阅读全文
摘要:
https://www.luogu.com.cn/problem/P4343 #include <iostream> using namespace std ; const int N=1e5+2; #define int long long const int inf=1e15; int a[N] 阅读全文