You are viewing a single comment's thread. Return to all comments →
The test case 1 has input from 1 to 20 in random order, however the explanation says:
"The second line contains n space separated integers, the values of f(1), f(2), f(3), ..., f(n) respectively."
If function is
f(x) = x
Seems like cookies are disabled on this browser, please enable them to open this website
Security Bijective Functions
You are viewing a single comment's thread. Return to all comments →
The test case 1 has input from 1 to 20 in random order, however the explanation says:
"The second line contains n space separated integers, the values of f(1), f(2), f(3), ..., f(n) respectively."
If function is
then input should not be in random order, or rather the problem should not say that the function is