W. 练83.4 分解因数

    Type: RemoteJudge 1000ms 256MiB

练83.4 分解因数

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.

说明

给出一个正整数aa,要求分解成若干个正整数的乘积,即a=a1×a2×a3×...×ana= a_1× a_2× a_3 × ...×a_n,并且11<a1a_1a2a_2a3a_3≤ ...≤ana_n,问这样的分解的方案种数有多少。注意到a=aa = a也是—种分解。

输入格式

第1行是测试数据的组数nn(1n101≤n≤10),后面跟着nn行输入。每组测试数据占11行,包括—个正整数aa(1<a<327681 < a < 32768)。

输出格式

nn行,每行输出对应一个输入。输出应是一个正整数,指明满足要求的分解的方案种数。

样例

2
2
20
1
4

2025年夏令营新人班【查】7

Not Claimed
Status
Done
Problem
41
Open Since
2025-7-12 0:00
Deadline
2025-8-20 23:59
Extension
24 hour(s)