10!
InterviewTime limit2sMemory limit1024 MB
Given N from 10 to 17, print how many weeks N! seconds equals, using 6 weeks as 3628800 seconds.
- Level
Easy2 of 10
- Topics
- Math, Implementation
- Solved
- No attempts yet
Problem
seconds is exactly 6 weeks. seconds is seconds, and 6 weeks is also seconds.
Write a program that computes how many weeks seconds is.
Input
The first line contains an integer .
Output
Print how many weeks seconds is equal to.
Hint
On the judge, the int type can store integers up to . The long long type in C/C++ and the long type in Java can store integers up to .