Number With The Given Amount Of Divisors(反素数)
生活随笔
收集整理的這篇文章主要介紹了
Number With The Given Amount Of Divisors(反素数)
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
Given the number n, find the smallest positive integer which has exactly n divisors. It is guaranteed that for the given n the answer will not exceed 1018.
Input
The first line of the input contains integer n (1?≤?n?≤?1000).
Output
Output the smallest positive integer with exactly n divisors.
Examples
Input
4
Output
6
Input
6
Output
12
反素數,這里先粘上以為大牛的博客,剛接觸,也不敢在這里說什么。
https://blog.csdn.net/my_sunshine26/article/details/72772637
代碼如下:
努力加油a啊,(o)/~
總結
以上是生活随笔為你收集整理的Number With The Given Amount Of Divisors(反素数)的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Parity Game CodeForc
- 下一篇: Ivan and Powers of T