随便写一下,纪念一下回归 摘要:解题思路: 这个题讲一个通俗的思路,首先由于数据巨大,最大的一个问题就是超时,所以必然不能使用传统的思路,这里可以理解为,我们从最小的质数来分数据,(定理一定可以拆分成多个质数的乘积)在这个质数上将数…… 题解列表 2023年11月09日 0 点赞 0 评论 347 浏览 评分:0.0
祝你好运laber 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c;…… 题解列表 2023年11月09日 0 点赞 0 评论 275 浏览 评分:9.9
c++萌新的题解 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ //intÊÇÕûÊý 1 2 9 69 100 …… 题解列表 2023年11月09日 0 点赞 0 评论 184 浏览 评分:9.9
使用vector()解题. 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string>#include<vector>using namespace std;bool cmp(vector…… 题解列表 2023年11月09日 0 点赞 0 评论 241 浏览 评分:0.0
冒泡排序c++ 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a[600];int main(){ int n=0; in…… 题解列表 2023年11月09日 0 点赞 2 评论 246 浏览 评分:9.9
冒泡排序c++ 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;struct student{ string name; doubl…… 题解列表 2023年11月09日 0 点赞 0 评论 605 浏览 评分:9.9
冒泡排序c++ 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;struct student{ int name; double s…… 题解列表 2023年11月09日 0 点赞 0 评论 552 浏览 评分:0.0
使用vector数组,能避免输出前导0 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<vector>#include<string>using namespace std;const int N=1e5…… 题解列表 2023年11月09日 0 点赞 0 评论 215 浏览 评分: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 评论 255 浏览 评分:0.0
优质题解 团伙--详细解答(不知道怎么处理敌人关系的进来) 摘要:解题思路:1、该题的思想就是并查集,但是有点不同,就是要记录敌人关系,所以要想办法来记录一下敌人的关系2、我这里初始化2n长度的数组,前n个记录朋友关系,后n个记录敌人关系3、重点理解题目说的一句话:…… 题解列表 2023年11月08日 0 点赞 0 评论 489 浏览 评分:9.9