2819: 数字反转(C语言解法)(while循环) 摘要: #include int main() { int num; scanf("%d",&num); int newnum=0;//新反转过来的数 int a; w…… 题解列表 2023年07月07日 1 点赞 0 评论 706 浏览 评分:9.9
暴力破题。。。 摘要:解题思路: 暴力破题。参考代码:#include <bits/stdc++.h> using namespace std; int main() { int op[400]=…… 题解列表 2023年07月07日 0 点赞 0 评论 497 浏览 评分:9.9
2811: 救援(C语言,重点就是向上取整用ceil()函数,不然的话就会报错) 摘要: #include #include int main() { int n; // 屋顶数 int x, y; // 坐标 int num; // 人数 …… 题解列表 2023年07月08日 0 点赞 0 评论 566 浏览 评分:9.9
反差法求解猴子吃桃问题——Python 摘要:解题思路:注意事项:参考代码:def caculate_peach_number(n): left_peaches = 1 day = n while day > 1: …… 题解列表 2023年07月08日 0 点赞 0 评论 641 浏览 评分:9.9
2813: 药房管理(C语言)(while循环和数组两种解法)数组解法只能得76分 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int pillnum, n; scanf("%d%d", &pillnum, &n); …… 题解列表 2023年07月08日 0 点赞 0 评论 455 浏览 评分:9.9
1332: 津津的储蓄计划(C语言数组解法) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int a[12]; // 每个月的预算 int i; for(i = 0; i < 12;…… 题解列表 2023年07月08日 0 点赞 2 评论 810 浏览 评分:9.9
感谢支持,谢谢你们的支持 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int m,n ,sum=0; cin>>m>…… 题解列表 2023年07月08日 0 点赞 0 评论 425 浏览 评分:9.9
题解 2801: 奇数求和 摘要:计算非负整数 m 到 n(包括m 和 n )之间的所有奇数的和,其中,m 不大于n,且n 不大于300。例如 m=3, n=12, 其和则为:3+5+7+9+11=35。解题思路:先思考,如何得到一个…… 题解列表 2023年07月08日 0 点赞 0 评论 612 浏览 评分:9.9
整数的个数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,a,one=0,five=0,ten=0…… 题解列表 2023年07月08日 0 点赞 0 评论 327 浏览 评分:9.9
2814: 正常血压(C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); int a[n][2]; int i,j; for(i=0;i<n…… 题解列表 2023年07月08日 0 点赞 0 评论 486 浏览 评分:9.9