题解 1155: C语言训练-阶乘和数*

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

C语言训练-阶乘和数*

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h> int Weishu(int n)//判断位数{    int i = 0;    while (n ……

阶乘和数(暴力解题)

摘要:参考代码:import java.util.*; public class Main{     public static void main(String[] args) {         ……

阶乘和数数数

1:先判断哪些正整数符合要求,把符合的转成字符串放在数组里保存起来2:对字符串进行排序```c#include#include#include#defineN25intf(intn){if(n==0||n==1)return1;elsereturnn*f(n-1);}intis(intn,

C语言训练-阶乘和数* 笨方法

摘要:解题思路:先将符合条件的数字找出来,放在一个数组里,再来排序。希望对大家要帮助参考代码:#include<stdio.h>int R1(int n){ int sum2 = 1; for (; n >……

C语言训练-阶乘和数*

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>#include<math.h>using namespace std;int main(){     for(int i=……