C语言数字迭代处理,细节处理 摘要:解题思路:获取每位上的数字并输出注意事项:输入超过4位不处理,最后一位后无空格参考代码:#include<stdio.h>int main(){&nbs…… 题解列表 2025年01月26日 1 点赞 0 评论 390 浏览 评分:0.0
题解 2819: 数字反转 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b=0; scanf("%d"…… 题解列表 2025年01月26日 1 点赞 0 评论 179 浏览 评分:0.0
C题解 2829: 数1的个数 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ long long a,b=0; scanf("%…… 题解列表 2025年01月26日 0 点赞 0 评论 119 浏览 评分:0.0
Sn的阶乘求和 摘要:解题思路:首先用long long sum来存储从1到n每个数的阶乘,然后定义一个s来存储所有阶乘的和注意事项:sum的初始值要定为1,切记不要从0开始,不然无论n为多少结果都是0,然后由于阶乘的结果…… 题解列表 2025年01月27日 1 点赞 0 评论 807 浏览 评分:0.0
就是分段函数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>intmain(void){intx,award;&…… 题解列表 2025年01月27日 0 点赞 0 评论 398 浏览 评分:0.0
题解 2905: 最大值和最小值的差 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ long long a,b[100000]; scanf("%…… 题解列表 2025年01月27日 0 点赞 0 评论 182 浏览 评分:0.0
题解 2907: 不与最大数相同的数字之和 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ long long a,b[1000],sum=0; scanf(&qu…… 题解列表 2025年01月27日 1 点赞 0 评论 133 浏览 评分:0.0
作业调度方案(模拟) 摘要:解题思路: 模拟注意事项:参考代码:#include<iostream>usingnamespacestd;constintN&nb…… 题解列表 2025年01月28日 0 点赞 0 评论 106 浏览 评分:0.0
倒杨辉三角形(递推) 摘要:解题思路:递推注意事项:参考代码:#include<iostream>#include<iomanip>usingnamespacestd;…… 题解列表 2025年01月29日 0 点赞 0 评论 156 浏览 评分:0.0
假币问题(模拟,分治) 摘要:解题思路:模拟注意事项:参考代码:#include<iostream>usingnamespacestd;intmain(){ int&…… 题解列表 2025年01月29日 0 点赞 0 评论 154 浏览 评分:0.0