感谢支持,谢谢你们的支持 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,age,sum=0 ; cin>>…… 题解列表 2023年07月01日 0 点赞 0 评论 358 浏览 评分:0.0
求平均年龄 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,sum=0,age; cin>>n…… 题解列表 2023年07月01日 0 点赞 0 评论 242 浏览 评分:0.0
超级玛丽游戏 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ cout<<" ********"<…… 题解列表 2023年07月01日 0 点赞 0 评论 260 浏览 评分:0.0
奇偶数之和 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,a=0,b=0; cin>>n; …… 题解列表 2023年07月01日 0 点赞 0 评论 231 浏览 评分:0.0
感谢支持,谢谢你们的支持 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n,s=0,t=0; cin>>n; for(in…… 题解列表 2023年07月01日 0 点赞 0 评论 358 浏览 评分:9.9
树上启发式合并裸题 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;#define maxn 200010#define maxc 200010int …… 题解列表 2023年07月01日 0 点赞 0 评论 1819 浏览 评分:9.0
C++代码进行解题,思路可与C语言共享 摘要:解题思路:就是每行数组减一注意事项:行与列之间的差值我用了d与k表示参考代码:#include <iostream>using namespace std;int main(){ int N; wh…… 题解列表 2023年07月01日 0 点赞 0 评论 213 浏览 评分:0.0
题目 1431: 蓝桥杯2014年第五届真题-分糖果题解 摘要:1.解题思路第一步:看一下所有的数是不是相等,如果是,flag=1,否则,flag=0第二步:全体减半第三步:所有的数都加上左边的数,相当于把左边数的一半给了这个数第四步:判断奇偶,如果是奇数,则这个…… 题解列表 2023年07月01日 0 点赞 0 评论 216 浏览 评分:0.0
和为给定数--二分 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;int a[100001];int main(){ in…… 题解列表 2023年06月29日 0 点赞 0 评论 247 浏览 评分:0.0
汤少的随机数(C语言解法)先排序后去重 摘要:解题思路:注意事项:参考代码:#include <iostream>#include<string.h>using namespace std;int main(){int a[100],b,c,d;…… 题解列表 2023年06月28日 0 点赞 0 评论 194 浏览 评分:0.0