沸羊羊 C# 1116: IP判断 摘要:```cpp #include using namespace std; int main() { int a[4]={0}; string s; while(cin>>…… 题解列表 2022年08月10日 0 点赞 0 评论 631 浏览 评分:0.0
期望dp与乘法逆元 摘要:解题思路:简单的期望dp注意事项:乘法一定要防止long long越界参考代码:#include<bits/stdc++.h>//这道题自己曾经不会期望dp,不会逆元,所以考场做不出来。//现在自己靠…… 题解列表 2022年08月09日 0 点赞 1 评论 2339 浏览 评分:5.1
稍微变化的01背包 摘要:解题思路:看注释注意事项:参考代码:#include<bits/stdc++.h>using namespace std;#define maxn 2010#define maxm 10010int …… 题解列表 2022年08月09日 0 点赞 0 评论 1010 浏览 评分:9.9
使用实现区间查询最小值,和的线段树 摘要:解题思路:看注释注意事项:参考代码:#include<bits/stdc++.h>using namespace std;#define maxn 1000010#define INF 1000010…… 题解列表 2022年08月09日 0 点赞 0 评论 1205 浏览 评分:9.9
C# 蓝桥杯算法提高VIP-扑克排序 ```cpp#includeusingnamespacestd;structfun{charqw;charqe;intqa;intqs;};boolcmp(funq1,funq2){if(q1.qa>q2.qa){return0;}elseif(q1.qa 题解列表 2022年08月08日 0 点赞 0 评论 680 浏览 评分:0.0 蓝桥杯2017年第八届真题-合根植物(C++) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const int N = 1e6 + 5;int p[N];int getFath…… 题解列表 2022年08月08日 0 点赞 0 评论 566 浏览 评分:0.0 蓝桥杯2017年第八届真题-发现环(并查集, DFS) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const int N = 1e5 + 7;int p[N];bool vis[N]…… 题解列表 2022年08月08日 0 点赞 0 评论 607 浏览 评分:0.0 11111111111111111111111111111111111111111111 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n,a[201],m; scanf("%d%d",&…… 题解列表 2022年08月08日 0 点赞 0 评论 521 浏览 评分:0.0 18行代码就可搞定了 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; int i,…… 题解列表 2022年08月07日 0 点赞 1 评论 511 浏览 评分:9.9 还差50分的话,就要while多组输入。29行代码搞定 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n,m; while(cin>>n>>m…… 题解列表 2022年08月07日 0 点赞 0 评论 664 浏览 评分:9.9 « 12...693694695696697698699...16501651 »
蓝桥杯2017年第八届真题-合根植物(C++) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const int N = 1e6 + 5;int p[N];int getFath…… 题解列表 2022年08月08日 0 点赞 0 评论 566 浏览 评分:0.0
蓝桥杯2017年第八届真题-发现环(并查集, DFS) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const int N = 1e5 + 7;int p[N];bool vis[N]…… 题解列表 2022年08月08日 0 点赞 0 评论 607 浏览 评分:0.0
11111111111111111111111111111111111111111111 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n,a[201],m; scanf("%d%d",&…… 题解列表 2022年08月08日 0 点赞 0 评论 521 浏览 评分:0.0
18行代码就可搞定了 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; int i,…… 题解列表 2022年08月07日 0 点赞 1 评论 511 浏览 评分:9.9
还差50分的话,就要while多组输入。29行代码搞定 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n,m; while(cin>>n>>m…… 题解列表 2022年08月07日 0 点赞 0 评论 664 浏览 评分:9.9