题解列表

筛选

优先队列的使用

摘要:#include<bits/stdc++.h> using namespace std; priority_queue<int>v;//大根堆 int main() {     int n,……

vector写数组

摘要:#include<bits/stdc++.h> using namespace std; int main() {     int n;     cin>>n;     vector<in……

用快读scanf别用cin

摘要:解题思路:/*带权并查集模板*/注意事项:参考代码:#include<bits/stdc++.h>typedef long long ll;using namespace std;int fa[100……

编写题解 2881: 图像相似度

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;const int N=1e3;int a[N][N],b[N][N];int m……

2883: 矩阵加法

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const ll N=1e3;ll a[……

2974: 统计字符数

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>typedef long long ll;using namespace std;const int N=1e6;ll t……

编写题解 2974: 统计字符数

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const int N=1e5;stri……

编写题解 2749: Hello, World!

摘要:解题思路:注意事项:参考代码:                #include<iosteam>                using namespace std;              &nb