You are viewing a single comment's thread. Return to all comments →
ArrayList<Integer> list = new ArrayList<Integer>(); int n = in.nextInt(); for(int i = 0; i < n; i++) list.add(in.nextInt()); for(int i = 1; i <= n; i++) System.out.println(list.indexOf(list.indexOf(i)+1)+1);
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 →