摘要:
#include <iostream> #include <string> #include <cstdio> #include <cmath> #include <cstring> #include <algorithm> #define range(i, a, b) for (int i = a 阅读全文
摘要:
在 vs code 界面先输入 Ctrl + Shift + P 接着输入 configure user snippets 然后找到 c++ ,然后复制下面的代码,以后输入 prefix 里的东西再回车即可 { // Place your snippets for cpp here. Each sn 阅读全文
摘要:
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int,int> pii; const int Maxn = 2e5+10; const int Inf = 0x7f7f7f7f; co 阅读全文
摘要:
```c++ #include using namespace std; typedef long long ll; const int Maxn = 1e5+10; const int Inf = 0x7f7f7f7f; const int Mod = 1e9+7; int a[Maxn],v[Maxn]; int l_0[Maxn],r_1[Maxn]; double ans[Maxn]; i 阅读全文
摘要:
```c++ #include using namespace std; typedef long long ll; const int Maxn = 1e6+10; const int Inf = 0x7f7f7f7f; const int Mod = 998244353; int n,m; char s[12000010]; priority_queue ,greater > Map[Maxn 阅读全文