Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
92922 | 赵乘浩 | 初级冒泡排序 | Python3 | Compile Error | 0 MS | 0 KB | 175 | 2024-10-07 09:07:11 |
n = int(input()) a = list(map(int,input().split() )) for i in range(n-1): for j in range(n-i-1): if a[j]<a[j+1]: a[j],a[j+1] = a[j+1],a[j] print( *a )
Sorry: TabError: inconsistent use of tabs and spaces in indentation (Main.py, line 6)