Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Return to Question

Commonmark migration
Source Link

#Input

Input

A single integer \1ドル \leq x \leq 10^{15}\$.

#Output

Output

The maximum number of distinct positive integers that have the product \$x\$.

#Examples

Examples

Input: 1099511627776. Output: 9. One possible optimal list of factors is: (1, 2, 4, 8, 16, 32, 64, 128, 4096).

Input: 127381. Output 4. One possible optimal list of factors is: (1, 17, 59, 127).

Related to this old question.

#Input

A single integer \1ドル \leq x \leq 10^{15}\$.

#Output

The maximum number of distinct positive integers that have the product \$x\$.

#Examples

Input: 1099511627776. Output: 9. One possible optimal list of factors is: (1, 2, 4, 8, 16, 32, 64, 128, 4096).

Input: 127381. Output 4. One possible optimal list of factors is: (1, 17, 59, 127).

Related to this old question.

Input

A single integer \1ドル \leq x \leq 10^{15}\$.

Output

The maximum number of distinct positive integers that have the product \$x\$.

Examples

Input: 1099511627776. Output: 9. One possible optimal list of factors is: (1, 2, 4, 8, 16, 32, 64, 128, 4096).

Input: 127381. Output 4. One possible optimal list of factors is: (1, 17, 59, 127).

Related to this old question.

Tweeted twitter.com/StackCodeGolf/status/1124101538606211074
Became Hot Network Question
added 16 characters in body
Source Link
user9207
user9207

#Input

A single integer \1ドル \leq x \leq 10^{15}\$.

#Output

The maximum number of distinct positive integers that have the product \$x\$.

#Examples

Input: 1099511627776. Output: 9. One possible optimal list of factors is: (1, 2, 4, 8, 16, 32, 64, 128, 4096).

Input: 127381. Output 4. One possible optimal list of factors is: (1, 17, 59, 127).

Related to this old question.

#Input

A single integer \1ドル \leq x \leq 10^{15}\$.

#Output

The maximum number of distinct positive integers that have the product \$x\$.

#Examples

Input: 1099511627776. Output: 9. One possible list of factors is: (1, 2, 4, 8, 16, 32, 64, 128, 4096).

Input: 127381. Output 4. One possible list of factors is: (1, 17, 59, 127).

Related to this old question.

#Input

A single integer \1ドル \leq x \leq 10^{15}\$.

#Output

The maximum number of distinct positive integers that have the product \$x\$.

#Examples

Input: 1099511627776. Output: 9. One possible optimal list of factors is: (1, 2, 4, 8, 16, 32, 64, 128, 4096).

Input: 127381. Output 4. One possible optimal list of factors is: (1, 17, 59, 127).

Related to this old question.

added 145 characters in body
Source Link
user9207
user9207

#Input

A single integer \1ドル \leq x \leq 10^{15}\$.

#Output

The maximum number of distinct positive integers that have the product \$x\$.

#Examples

Input: 1099511627776. Output: 9. One possible list of factors is: (1, 2, 4, 8, 16, 32, 64, 128, 4096).

Input: 127381. Output 4. One possible list of factors is: (1, 17, 59, 127).

Related to this old question .

#Input

A single integer \1ドル \leq x \leq 10^{15}\$.

#Output

The maximum number of distinct positive integers that have the product \$x\$.

#Examples

Input: 1099511627776. Output: 9. One possible list of factors is: (1, 2, 4, 8, 16, 32, 64, 128, 4096).

Input: 127381. Output 4. One possible list of factors is: (1, 17, 59, 127).

#Input

A single integer \1ドル \leq x \leq 10^{15}\$.

#Output

The maximum number of distinct positive integers that have the product \$x\$.

#Examples

Input: 1099511627776. Output: 9. One possible list of factors is: (1, 2, 4, 8, 16, 32, 64, 128, 4096).

Input: 127381. Output 4. One possible list of factors is: (1, 17, 59, 127).

Related to this old question .

Source Link
user9207
user9207
Loading

AltStyle によって変換されたページ (->オリジナル) /