ENG
RUS
Timus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board
Discussion of Problem
1083
. Factorials!!!
easy solution for python
Posted by
Yucheng
3 Nov 2018 20:50
a,b=input().split()
n=int(a)
k=len(b)
temp=n
t=k
while temp-k>0:
n*=(temp-k)
k+=t
print("%d"%n)
© 2000–2024
Timus Online Judge Team
. All rights reserved.