5 条题解

  • 0
    @ 2025-4-20 17:17:17

    a = '0123456789ABCDEF' n = int(input()) s="" while n>0: r=n%16 n=n//16 if r>9: x=chr(r+55) else: x=str(r) s=x+s
    print(s)
    小学生做法

    信息

    ID
    814
    时间
    1000ms
    内存
    256MiB
    难度
    4
    标签
    递交数
    919
    已通过
    395
    上传者