7-19 求“厉害”数 (20分)

    技术2024-05-25  77

    n=int(input()) for i in range(1,(10**n)//2): s=0 temp=i while i!=0: s+=(i%10)**5 i=i//10 if temp==s: print(temp)

     

    Processed: 0.010, SQL: 9