4 条题解
-
2
cxccxc LV 9 @ 6 年前
打表出奇迹
-
010 个月前@
-
04 年前@
-
04 年前@
感觉好像有点问题,不过判出来是对的
import math
def fj(x):
f=False
for i in range(2,int(math.sqrt(x)//1)+1):
if x%i==0:
f=True
break
if f==False:
print(int(x),end='')
else:
print(i,end='*')
fj(x/i)x=int(input())
print(str(x)+'=',end='')
fj(x)
- 1
信息
- 难度
- 6
- 分类
- (无)
- 标签
- (无)
- 递交数
- 218
- 已通过
- 58
- 通过率
- 27%
- 被复制
- 2
- 上传者