C语言训练-阶乘和数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int geshu(int a);int jiecheng(int a);int shouwei(i…… 题解列表 2022年09月27日 0 点赞 0 评论 179 浏览 评分:0.0
C语言训练-阶乘和数* 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>#include<math.h>using namespace std;int main(){ for(int i=…… 题解列表 2022年11月24日 0 点赞 0 评论 169 浏览 评分:0.0
阶乘和数数数 摘要: 1:先判断哪些正整数符合要求,把符合的转成字符串放在数组里保存起来 2:对字符串进行排序 ```c #include #include #include #define N …… 题解列表 2023年04月02日 0 点赞 0 评论 369 浏览 评分:0.0
1155阶乘和数*(二维数组输出) 摘要:解题思路:我的方法比较麻烦,先通过遍历的方式得到符合的值,再通过一个二重for 循环字典序输出。如果看不懂的话,你直接输出他给的案例就过了,这道题主要就是字典序输出需要注意一下而已,没什么太难的地方。…… 题解列表 2024年07月08日 0 点赞 0 评论 136 浏览 评分:0.0
1155基础解法(Python) 摘要:解题思路:随手写的,没有优化注意事项:重点在于如何实现字典序,然后要保证答案格式正确即可参考代码:import mathdic = {}count = 1func = lambda x : math.…… 题解列表 2024年01月18日 0 点赞 0 评论 139 浏览 评分:0.0
C语言训练-阶乘和数* (C语言代码) 摘要:解题思路:结合了几个题解可以参考注意事项:参考代码:#include<stdio.h>#include <math.h>int fun(int);int main(){ int i,n,num,…… 题解列表 2019年02月28日 1 点赞 0 评论 532 浏览 评分:0.0
C语言训练-阶乘和数* (Java代码)逗比答案 摘要:解题思路:abcde分别代表个十百千万注意事项:如何输出排序?原有数组处理后比较,再输出参考代码:public class m { public static void main(String ar…… 题解列表 2018年04月22日 0 点赞 0 评论 636 浏览 评分:0.0
C语言训练-阶乘和数* (C语言代码) 摘要:解题思路:写的和屎一样,注意事项:0的阶乘是1参考代码:#include<stdio.h>int main(){ int i,j,k,b,a[10]={0},sum=0,*p,c[5]={0},f=0…… 题解列表 2018年03月14日 0 点赞 0 评论 1016 浏览 评分:0.0
Mark11:我是个老实的大傻人 摘要:参考代码:#include<stdio.h> int factorial(int molecule){ int product =1; for(int i=1; i<=molec…… 题解列表 2018年10月03日 1 点赞 0 评论 1009 浏览 评分:0.0
C语言训练-阶乘和数* (C语言代码) 摘要:解题思路:注意事项:用do while循环,个位取值不用除以10先运行参考代码:#include<stdio.h> int fact (int k) { if(k==1||k==0) r…… 题解列表 2018年11月16日 2 点赞 0 评论 688 浏览 评分:0.0