题目1067:n的阶乘
来源:互联网 发布:手机淘宝店招尺寸多少 编辑:程序博客网 时间:2024/06/10 08:19
#include <iostream>#include <stdio.h>#include <algorithm>#include <math.h>#include <string>#include <string.h>#include <vector>#include <queue>#include <stack>#include <sstream>#include <climits>#include <cstring>using namespace std;//1067int a;long long int b;int main(){ while(cin>>a){ b=1; for(int i=1;i<=a;i++) b*=i; cout<<b<<endl; } return 0;}/************************************************************** Problem: 1067 User: cust123 Language: C++ Result: Accepted Time:10 ms Memory:1520 kb****************************************************************/
0 0
- 题目1067:n的阶乘
- 题目1067:n的阶乘
- 题目1067:n的阶乘
- 题目61:N的阶乘
- 题目61:N的阶乘
- 题目1076:N的阶乘
- 题目1076:N的阶乘
- 题目1076:N的阶乘
- 题目1076:N的阶乘
- 题目1076:N的阶乘
- 题目1076:N的阶乘
- 题目1076:N的阶乘
- 题目1076:N的阶乘
- 九度OJ 题目1067:n的阶乘
- 九度OJ—题目1067:n的阶乘
- 九度OJ 题目1067:n的阶乘
- 题目1066:字符串排序 题目1067:n的阶乘 题目1068:球的半径和体积
- 61-题目1076:N的阶乘
- 题目1066:字符串排序
- nginx实现tomcat的负载均衡
- Spring3.2和jdk1.8之间的兼容性错误
- 使用maven管理引入jdk1.8
- Q102:光线追踪场景(4)——面朝大海
- 题目1067:n的阶乘
- 改变编辑框下拉框字体大小
- gitHub删除默认的master分支
- JDBC学习入门
- css入门知识
- org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [XXXX]
- vue component组件小结
- 欢迎使用CSDN-markdown编辑器
- 猴子选大王