博客
关于我
计算1!+2!+3!+4!+5!+6!+......+20!
阅读量:613 次
发布时间:2019-03-13

本文共 390 字,大约阅读时间需要 1 分钟。

	C??????	
#define _CRT_SECURE_NO_WARNINGS#include 
int main() { int n; scanf("%d", &n); unsigned long long i, m = 1; unsigned long long s = 0; for (i = 1; i <= 20; i++) { m *= i; s += m; } printf("%lld\n", s); return 0;}

??????????????????

  • ???????<div>??
  • ???????????
  • ?????????
  • ?????????
  • ?????????
  • ?????????????????
  • ???????<pre>??
  • ???????????????????????????

    转载地址:http://xlzaz.baihongyu.com/

    你可能感兴趣的文章
    python办公自动化基础搜索文件
    查看>>
    python知识:@classmethod和@staticmethod的异同
    查看>>
    python前端之css
    查看>>
    Python制作进度条,原来有这么多方法
    查看>>
    Python制作简单的学生成绩管理系统
    查看>>
    python制作甘特图的基本知识(附Demo)
    查看>>
    python制作一个简单的服务器,【Python】 做一个简单的 http 服务器
    查看>>
    Python到底能做什么?它的优点在哪?
    查看>>
    python利用pytorch库导出图像分割算子
    查看>>
    python利用pyshark监听网卡来抓包其中pyshark中摸索的一些可用参数
    查看>>
    python利用excel分析过杀漏失
    查看>>
    python判断汉字数目
    查看>>
    python判断文件是空的,如果是空的,就删除
    查看>>
    python判断密码是否正确_python密码判断是否符合要求的方法
    查看>>
    python判断字符串包含中文_Python 判断字符串是否包含中文
    查看>>
    python删除第一行_Python 乱码指北:一行删掉根目录
    查看>>
    Python删除列表元素的三种方法
    查看>>
    python初步学习-python数据类型-集合(set)
    查看>>
    python列表生成字典_Python中将字典转换为列表的方法
    查看>>
    python列表对应元素合并为列表及判断一个列表是几维
    查看>>