#include//64位机器最多只能取到n = 31,再大数据会溢出int main(){ int n = 0; long long int result = 0, tmp = 1; printf("Please input n to calculate 1! + 2! + ...+ n!:\n"); scanf_s("%d", &n); if (n < 1){ printf("Input wrong.\n&quo
← 上一条:编写程序,计算1!+2!+3!+...... 下一条:QQ空间黄钻用户每月赠送三首背景音乐,怎么弄 →