【LOJ573】「LibreOJ NOI Round #2」单枪匹马
【题目链接】
点击打开链接
【思路要点】
见 官方题解 。(反正也是我写的)
时间复杂度 O(N+M)O(N+M)O(N+M) 。
【代码】
#include<bits/stdc++.h>
using namespace std;
const int MAXN = 1e6 + 5;
const int P = 998244353;
typedef long long ...
原创
2019-07-07 20:01:41 ·
516 阅读 ·
0 评论