#B. C++-循环嵌套-把一个合数分解成质因数乘积的形式叫做分解质因数

    Type: Default 1000ms 256MiB

C++-循环嵌套-把一个合数分解成质因数乘积的形式叫做分解质因数

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

Background

Description

把一个合数分解成质因数乘积的形式叫做分解质因数,输入一个正整数n,将n分解成质因数乘积的形式 输入:36 输出:36=2 * 2 * 3 * 3 image

Format

Input

Output

Samples

10000
10000=2*2*2*2*5*5*5*5
36
36=2*2*3*3
87780
87780=2*2*3*5*7*11*19

Limitation

1s, 1024KiB for each test case.

循环嵌套

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
8
Start at
2024-4-27 17:15
End at
2024-5-12 17:15
Duration
360 hour(s)
Host
Partic.
5