this code is solution of this problem https://codeforces.com/problemset/problem/136/A in codeforces .... i understand the problem and i solved it but i don't understand this solution.. please someone explain me this code
int n,a[101],i,j;
main()
{
n||scanf("%d",&n);
i-n&&(scanf("%d",a),a[*a]=++i,main(),printf("%d ",a[++j]));
}