祝你好运laber 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c;…… 题解列表 2023年11月09日 0 点赞 0 评论 569 浏览 评分:9.9
c++萌新的题解 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ //intÊÇÕûÊý 1 2 9 69 100 …… 题解列表 2023年11月09日 0 点赞 0 评论 472 浏览 评分:9.9
使用vector()解题. 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string>#include<vector>using namespace std;bool cmp(vector…… 题解列表 2023年11月09日 0 点赞 0 评论 503 浏览 评分:0.0
冒泡排序c++ 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a[600];int main(){ int n=0; in…… 题解列表 2023年11月09日 0 点赞 2 评论 581 浏览 评分:9.9
冒泡排序c++ 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;struct student{ string name; doubl…… 题解列表 2023年11月09日 0 点赞 0 评论 877 浏览 评分:9.9
冒泡排序c++ 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;struct student{ int name; double s…… 题解列表 2023年11月09日 0 点赞 0 评论 848 浏览 评分:0.0
使用vector数组,能避免输出前导0 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<vector>#include<string>using namespace std;const int N=1e5…… 题解列表 2023年11月09日 0 点赞 0 评论 554 浏览 评分:0.0
3001:整数的和题解 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c;…… 题解列表 2023年11月09日 0 点赞 0 评论 559 浏览 评分:0.0
优质题解 团伙--详细解答(不知道怎么处理敌人关系的进来) 解题思路:1、该题的思想就是并查集,但是有点不同,就是要记录敌人关系,所以要想办法来记录一下敌人的关系2、我这里初始化2n长度的数组,前n个记录朋友关系,后n个记录敌人关系3、重点理解题目说的一句话:我敌人的敌人是我的朋友。也就是说这个x一直只有一个敌人团伙或者没有敌人具体的执行思路如下:注意事项:1 题解列表 2023年11月08日 0 点赞 0 评论 1011 浏览 评分:9.9
2816: 统计满足条件的4位数个数 摘要:``` #include using namespace std; int n,x,g,s,b,q,sum; int main(){ cin>>n; for( int i=1; i>x…… 题解列表 2023年11月08日 0 点赞 0 评论 452 浏览 评分:0.0