摘要:
2025.10.5 Sale n,m=map(int,input().split()) a=list(map(int,input().split())) a.sort() s=0 for i in range(len(a)): if(a[i]<0 and i+1<=m): s-=a[i] if(a[ 阅读全文
摘要:
2025.9.12 换了pycharm。 Sum of Round Numbers 取每一位数。 代码 t=int(input()) for i in range(t): a=int(input()) ans=0 cnt=0 res=[] while(a>0): t=a%10 if(t!=0): r 阅读全文