题解列表

筛选

2901: 查找特定的值

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

STL vector实现快速排序

摘要:解题思路:递归+双指针注意事项: vector索引必须用int, 不能用size_t参考代码:#include<iostream>#include<vector>using namespace std……

3044: 电池的寿命

摘要:解题思路:注意事项:参考代码:#include<iostream> #include<algorithm>  #include<utility> #include<limits> #inclu……

3020: 最大数位置

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

2901: 查找特定的值

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

题解 2901: 查找特定的值

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