|
|||
The codeAfter figuring out the lock is indeed breakable, it is time to enter into the building. However for this we ACTUALLY need to enter the code into the number lock! InputThe input is a single line, terminated with an end of line character which contains a single positive n integer at most 4000. OutputThe output is the prime decomposition of n! (n factorial) in an ascending order based on the primes.
Example
Input:
|
|||
University of Debrecen; Faculty of Informatics; v. 09/30/2024 |