#include
using namespace std;
void main()
{
cout<<"input array with 6 elements:"<
int i=0;
while(i<6)
{
cin>>a[i];
b[i]=i;
i++;
}
for(i=0;i<6;i++)
for(int j=i+1;j<6;j++)
{
if(a[i] {
int temp=a[i];
a[i]=a[j];
a[j]=temp;
temp=b[i];
b[i]=b[j];
b[j]=temp;
}
}
cout<<"排序后数组从大到小为:"<
cout< cout<
cout< cout<
map加数组...