题解 2798: 整数序列的元素最大跨度值 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int b; cin>>b; int m…… 题解列表 2024年01月09日 0 点赞 0 评论 177 浏览 评分:0.0
1011: [编程入门]最大公约数与最小公倍数 摘要:解题思路:注意事项:最小公倍数=两数之积/最大公因数参考代码:列表a, b = map(int,input().split())l = []s = []for i in range(1, min(a,…… 题解列表 2024年01月09日 0 点赞 0 评论 335 浏览 评分:0.0
3010: 奇偶数之和 摘要:解题思路:注意事项:这里用long long长整型定义参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; ci…… 题解列表 2024年01月09日 0 点赞 0 评论 344 浏览 评分:9.9
2794: 求平均年龄 摘要:解题思路:注意事项:要保留两位小数参考代码:#include<iostream>using namespace std;int main(){ int n,m; double sum = …… 题解列表 2024年01月09日 0 点赞 0 评论 349 浏览 评分: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 评论 268 浏览 评分:9.9
利用 素数不能被素数整除 求解 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args…… 题解列表 2024年01月09日 0 点赞 0 评论 326 浏览 评分:9.9
简短求解2247 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args…… 题解列表 2024年01月09日 0 点赞 0 评论 276 浏览 评分:0.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 评论 369 浏览 评分: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 评论 325 浏览 评分:10.0
题解 2794求平均年龄 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,sum=0; cin>>n; …… 题解列表 2024年01月09日 0 点赞 0 评论 641 浏览 评分:9.9