You are viewing a single comment's thread. Return to all comments →
Using inverted p(x) in python:
n = int(raw_input()) p_temp = map(int, raw_input().split()) p = {v: k+1 for k, v in enumerate(p_temp)} for i in range(1, n+1): print p[p[i]]
Seems like cookies are disabled on this browser, please enable them to open this website
Sequence Equation
You are viewing a single comment's thread. Return to all comments →
Using inverted p(x) in python: