#include <cstdlib>
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
int score[5],*PointerScore = score;
int i,j,temp;
for(i=0;i<5;i++)
scanf("%d",&score[i]);
for(i=0;i<5;i++)
for(j=i+1;j<5;j++)
if (* (PointerScore+i) < *(PointerScore+j) )
{
temp = *(PointerScore+j);
*(PointerScore+j) = *(PointerScore+i);
*(PointerScore+i) = temp;
}
printf("排列:");
for(i=0;i<5;i++)
printf("%d \n",score[i]);
system("PAUSE");
return EXIT_SUCCESS;
}