[编程入门]Sn的公式求和 摘要:解题思路: 1.按照题目的意思此题肯定要用循环,然后我们要在题目所给的公式找一种方法求解,(可能比较考验你的数学能力) 2.求Sn=a+aa+aaa+……… 题解列表 2022年04月02日 0 点赞 0 评论 731 浏览 评分:9.9
求和训练1015 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,m,l; double sum,su=0.0,sn=0.0,sm=0.0; scanf("%d%d%…… 题解列表 2022年04月02日 0 点赞 0 评论 422 浏览 评分:0.0
1013sn的公式求和 摘要:解题思路:要善于发现2,22,222.....之间的规律每次都是拿前面的数乘10再加2注意事项:参考代码:#include<stdio.h>int main(){ int a=2,n,sum=0; s…… 题解列表 2022年04月02日 0 点赞 0 评论 390 浏览 评分:9.9
[编程入门]水仙花数判断(C语言) 摘要:解题思路: 1 )先利用for循环求出每一个三位数的百位,十位,个位的数是多少,其中利用要 / 取整, %取余 2)再利用for循环里面的if语句,利用水仙花数的公…… 题解列表 2022年04月02日 0 点赞 0 评论 641 浏览 评分:0.0
题解 1855: 输出字符'A'个数 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int i = 0, n; scanf("%d",&n); while(i…… 题解列表 2022年04月02日 0 点赞 0 评论 460 浏览 评分:0.0
题解 1668: printf基础练习2 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int a; scanf("%d",&a); printf("%#o %#…… 题解列表 2022年04月02日 0 点赞 0 评论 548 浏览 评分:0.0
题解 1856: 最小三个数 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { int n; scanf("%d",&n); if(n >= 3 && …… 题解列表 2022年04月02日 0 点赞 0 评论 339 浏览 评分:0.0
题解 1857: 姜太公钓鱼 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { int n; scanf("%d",&n); if(n >= 2 && …… 题解列表 2022年04月02日 0 点赞 0 评论 653 浏览 评分:0.0
优质题解 [编程入门]阶乘求和(C语言) 摘要:解题思路: 首先我们先了解整型家族(字符、短整型、整型、长整型)的变量的最小范围1.因为这是阶乘求和,一般的int 类型可能就不够,因此我们利用long long int 类型(不用unsigne…… 题解列表 2022年04月02日 2 点赞 66 评论 19074 浏览 评分:9.4
java语言解决1059: 二级C语言-等差数列 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main { public static void main(String[] a…… 题解列表 2022年04月02日 0 点赞 0 评论 407 浏览 评分:9.9