#include "conio.h"
#include "stdlib.h"
#include "iomanip"
#include "iostream"
#include "ctime"
const int n=5;
using namespace std;
void zapolnatb (int A[n][n])
{
srand(time(0));
for (int i=0;iA[i][j])
{
max=A[i][j];
stl=j;
}
cout<<setw(4)<<max<<setw(4)<<stl<<endl;
}
}
void naxogdenuee (int A[n][n]) //min element v stroke
{
int min;
int stl=0;
for(int i=0;i<n;i++)
{
min=A[i][0];
for (int j=0;j<n;j++)
if (min<A[i][j])
{
min=A[i][j];
stl=j;
}
cout<<setw(5)<<min<<setw(5)<<stl<<endl;
}
}
void naxogdenueee (int A[n][n]) //min element v stolbce
{
int min;
int str=0;
for(int j=0;j<n;j++)
{
min=A[0][j];
for (int i=0;i<n;i++)
if (min>A[i][j])
{
min=A[i][j];
str=i;
}
cout}