摘要: 例:输入数字x,计算x! 考虑使用静态变量static int f=1,该值只在编译的时候进行初始化,在后期函数执行的时候不进行变换,故可进行阶乘计算 #include<iostream> #include<stdio.h> #define MAX 1005; #define N 25 using 阅读全文
posted @ 2020-11-06 08:56 LocaEtric 阅读(187) 评论(1) 推荐(0)