#include
#include
main()
{ int *p,count;
scanf("%d",&count);
p=(int*)malloc(count*sizeof(int));
for(int i=0;i
p[i]=i;
for(int j=0;j
printf("%d",p[j]);
}
#include
#include
main()
{ int *p,count;
scanf("%d",&count);
p=(int*)malloc(count*sizeof(int));
for(int i=0;i
p[i]=i;
for(int j=0;j
printf("%d",p[j]);
}
转载于:https://www.cnblogs.com/wonderKK/archive/2011/11/07/2240394.html