/ OPS / 题库 /

Why not Ac it

Why not Ac it

#描述#
To be accepted is not a dream, but I don’t want to “waterify” this question. :-) Hence a compromise needs to be made. Given an integer N, you are asked to print all its positive factors in a consecutive way with small factors occurring before large factors.

#格式#
##输入格式##
The first line of input contains a number T (1&ltT&lt50), which is the number of test cases. Each of the following T lines contains a single integer N (1&ltN&lt100).

##输出格式##
For each test case, print a line the string formed by N’s factors.

#样例1#
##样例输入1##

2
12
89

##样例输出1##

1234612
189

#限制#
1000ms
32768KB

#提示#

#来源#
Limitfan

信息

ID
1481
难度
9
分类
category1 点击显示
标签
递交数
1
已通过
1
通过率
100%
上传者