Commit 64a7484c by BellCodeEditor

auto save

parent 803016cb
Showing with 13 additions and 2 deletions
a m=int(input())
\ No newline at end of file n=list(map(int,input().split(' ')))
a=[]
sum=0
for i in n:
for j in range(0,n.index(i)):
if i>n[j]:
sum+=1
a.append(sum)
sum=0
for i in a:
print(i,end='')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment