1169: 绝对值排序(sort)
摘要:解题思路:    核心:l.sort(key=abs, reverse=True)注意事项:    去掉绝对值最大的数参考代码:while True:
    l = [int(x) for x i…… 
1169: 绝对值排序
摘要:解题思路:注意事项:参考代码:while True:
    try:
        n = list(map(int, input().split()))
        a = n[1:]…… 
小白随便写的,记录一下
摘要:```python
def solve_sort(li):
new_li = list(map(int, li[1:]))
new_li.sort(key=abs, revers…… 
用冒泡排序做的,没有时间超限
摘要:解题思路:注意事项:参考代码:while True:    li=list(map(int,input().split()))    if li[0]==0:        break    else…… 
绝对值排序(python)
摘要:解题思路:注意事项:参考代码:while True:    nums = list(map(int, input().split()))    n = nums[0]    if n == 0:   …… 
