136A

时间:2021-04-05 07:54:46
#include <stdio.h>
#include <string.h>

#define MAXSIZE 110

int main()
{
	int giv[MAXSIZE];
	int rec[MAXSIZE];
	memset(giv, 0, sizeof(giv));
	memset(rec, 0, sizeof(rec));
	int n;
	scanf("%d", &n);
	int i;
	for(i=1; i<=n; ++i)
	{
		scanf("%d", &giv[i]);
		rec[giv[i]]=i;
	}
	for(i=1; i<=n; ++i)
	{
		if(i!=1)
			printf(" ");
		printf("%d", rec[i]);
	}
	printf("\n");
	return 0;
}

  

相关文章