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 评论 276 浏览 评分:9.9
简短求解2247 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args…… 题解列表 2024年01月09日 0 点赞 0 评论 173 浏览 评分:0.0
利用 素数不能被素数整除 求解 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args…… 题解列表 2024年01月09日 0 点赞 0 评论 221 浏览 评分:9.9
【递归】母牛的故事 摘要:解题思路:每3年,小母牛成年,并在从第四个年头开始,每年年初也生一头小母牛。例:第 6 年有 6头 新的小母牛,3头 成年母牛,经过3年 6头 小母牛成年,并与其他成年母牛生出 9头 新的小母牛。总结…… 题解列表 2024年01月09日 1 点赞 0 评论 345 浏览 评分:10.0
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 评论 220 浏览 评分:9.9
2794: 求平均年龄 摘要:解题思路:注意事项:要保留两位小数参考代码:#include<iostream>using namespace std;int main(){ int n,m; double sum = …… 题解列表 2024年01月09日 0 点赞 0 评论 284 浏览 评分:9.9
3010: 奇偶数之和 摘要:解题思路:注意事项:这里用long long长整型定义参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; ci…… 题解列表 2024年01月09日 0 点赞 0 评论 238 浏览 评分:9.9
1011: [编程入门]最大公约数与最小公倍数 摘要:解题思路:注意事项:最小公倍数=两数之积/最大公因数参考代码:列表a, b = map(int,input().split())l = []s = []for i in range(1, min(a,…… 题解列表 2024年01月09日 0 点赞 0 评论 229 浏览 评分:0.0
题解 2798: 整数序列的元素最大跨度值 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int b; cin>>b; int m…… 题解列表 2024年01月09日 0 点赞 0 评论 115 浏览 评分:0.0
题解 2798: 整数序列的元素最大跨度值 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int sum,m,sun; sum=0; …… 题解列表 2024年01月09日 0 点赞 0 评论 240 浏览 评分:9.9