#include <iostream>
using namespace std;
int main(){
int vol[5][5]={{11,2,13,45,6},{7,65,34,12,0},{43,22,33,14,9},{5,333,123,456,768},{999,882,1000,234,129}};
cout << "Array desordenado " << endl;
cout << endl;
for(int i=0;i<5;i++){
for(int j=0;j<5;j++){
cout << vol[j]<<" ";
}
cout << endl;
}
cout << endl;
cout << "Array ordenado" << endl;
cout << endl;
for(int a=0;a<5;a++){
for(int b=0;b<5;b++){
for(int c=0;c<5;c++){
for(int d=0;d<5;d++){
if((vol[a])<(vol[c][d])){
int aux;
aux = vol[a];
vol[a] = vol[c][d];
vol[c][d] = aux;
}
}
}
}
}
for(int i=0;i<5;i++){
for(int j=0;j<5;j++){
cout << vol[j]<<" ";
}
cout << endl;
}
cout << endl;