zoukankan
html css js c++ java
阶乘
n=
eval(input()) num
=
1
if
n>
0
:
for
i
in
range(
1
,n+
1
): num
=i*
num print(
"
%d
"
%(num))
查看全文
相关阅读:
POJ1821 Fence 单调队列优化DP
ZOJ 4114 dp
2019 Multi-University Training Contest 2
Fibonacci 矩阵乘法入门
C
258. Add Digits
292. Nim Game
345. Reverse Vowels of a String
344. Reverse String
169. Majority Element
原文地址:https://www.cnblogs.com/670ling/p/12589905.html
最新文章
工作快2个月了
Codeforces_849
Codeforces_842
Codeforces_844
Codeforces_845
Codeforces_101498
Codeforces_841
Codeforces_839
Codeforces_837
Codeforces_834
热门文章
2019 Multi-University Training Contest 2
回文树板子
线段树的收获
点分治模板题
D. Make The Fence Great Again
The Preliminary Contest for ICPC Asia Shenyang 2019
2019 Multi-University Training Contest 1
动态规划专题
Educational Codeforces Round 71 (Rated for Div. 2)
Tree 点分治
Copyright © 2011-2022 走看看