因子分解
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.
【问题描述】
输入一个数,输出其素因子分解表达式。
【输入格式】
输入一个整数 n (2≤n<100)。
【输出格式】
(1)输出该整数的因子分解表达式。
(2)表达式中各个素数从小到大排列。
(3)如果该整数可以分解出因子a的b次方,当b大于1时,写做 a^b ;当b等于1时,则直接写成a。
【样例数据】
60
2^2*3*5