-->
当前位置:首页 > 题库

PROGRAMMING:Decomposition decomposition

Luz5年前 (2021-05-10)题库366
The topic is very simple, given a number, find the number of different prime factors after factoring prime factors, and output these prime factors. Prime number: it is defined that in the natural number greater than 1, there are no other factors except 1 and itself.
###Input format:
Enter an integer n (0 < = n < = 3e9)
###Output format:
Output an integer k, representing k different primes
The next line outputs k different prime factors.
###Input sample 1:
```in
0
```
###Output sample 1:
```out
0
```
###Input sample 2:
```in
twelve
```
###Output sample 2:
```out
two
2 3
```






answer:If there is no answer, please comment