10 条题解

  • 0
    @ 2025-4-20 17:11:49
    x=int(input())
    if x==1:
        print(1)
    s=''
    i=2
    while x!=1:
        if x%i==0:
            if x/i==1:
                s=s+str(i)
                x=x/i
            else:
                s=s+str(i)+'*'
                x=x/i
        else:
            i+=1
    print(s)
    

    信息

    ID
    69
    时间
    1000ms
    内存
    128MiB
    难度
    6
    标签
    递交数
    2205
    已通过
    611
    上传者