取引用+substr复制字符串 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string>using namespace std;void Copy(string &str_1, string…… 题解列表 2024年01月10日 0 点赞 0 评论 137 浏览 评分:0.0
题解 2794求平均年龄 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,sum=0; cin>>n; …… 题解列表 2024年01月09日 0 点赞 0 评论 515 浏览 评分:9.9
2000: 偶数列举 2000: 偶数列举 2000: 偶数列举 2000: 偶数列举 2000: 偶数列举 2000: 偶数列举 2000: 偶数列举 2000: 偶数列举 2000: 偶数列举 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; cin>>n; for(int i=2;i<…… 题解列表 2024年01月09日 1 点赞 2 评论 212 浏览 评分:10.0
1764: 循环入门练习11764: 循环入门练习11764: 循环入门练习11764: 循环入门练习11764: 循环入门练习11764: 循环入门练习11764: 循环入门练习11764: 循环入 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int sum=0; //累加器 for(i…… 题解列表 2024年01月09日 0 点赞 0 评论 242 浏览 评分:9.9
2797: 最高的分数 摘要:解题思路:注意事项:参考代码:#includeusing namespace std;int main(){int n,b,a=0;cin>>n;for(int i=1;i<=n;i++){cin>>…… 题解列表 2024年01月09日 0 点赞 1 评论 194 浏览 评分:9.9
2794: 求平均年龄 摘要:解题思路:注意事项:要保留两位小数参考代码:#include<iostream>using namespace std;int main(){ int n,m; double sum = …… 题解列表 2024年01月09日 0 点赞 0 评论 254 浏览 评分:9.9
3010: 奇偶数之和 摘要:解题思路:注意事项:这里用long long长整型定义参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; ci…… 题解列表 2024年01月09日 0 点赞 0 评论 212 浏览 评分:9.9
题解 2798: 整数序列的元素最大跨度值 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int b; cin>>b; int m…… 题解列表 2024年01月09日 0 点赞 0 评论 87 浏览 评分:0.0
2797: 最高的分数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int maxx = 0; int n; ci…… 题解列表 2024年01月09日 0 点赞 0 评论 115 浏览 评分:0.0
题解 2797: 最高的分数(c++) 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int b; cin>>b; int m…… 题解列表 2024年01月09日 0 点赞 0 评论 113 浏览 评分:0.0