aw349专题

AW349 黑暗城堡

题目地址 易错点: 模数是2147483647. #include<cstdio>#include<iostream>#include<cstring>#include<queue>#define ll long longusing namespace std;const int MAXN=2e3,MAXM=2e6,MOD=2147483647;struct Edg