题解 1151: C语言训练-计算一个整数N的阶乘

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

筛选

最简单的方法

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); int i; int s=1; for(i=1;i<=n;i++)……

超级变态的细节

摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;long long  dg(long long  n) { if (n == 1 || n ……

普普通通的解题方法

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h> int main(){ int a; long long sum = 1; scanf("%d",&a……