Skip to content

Commit

Permalink
add example
Browse files Browse the repository at this point in the history
  • Loading branch information
zehengl committed Sep 12, 2024
1 parent e94bc8f commit aae1401
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/bocchinorokku.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
n = int(input())
a = [int(d) for d in input().split()]
d = dict(zip(sorted(a), range(n)))
print(*[d[v] for v in a])

0 comments on commit aae1401

Please sign in to comment.