#include<stdio.h>
int main()
{
int n,m;
printf("Enter values of matrix: \n");
int array[n][m];
for(int i=0; i<n; i++){
for(int j=0; j<m; j++){
scanf("%d", &array
[i
][j
]); }
}
int ans = 99999;
for(int i=0; i<n; i++){
for(int j=0; j<m; j++){
if(ans >= array[i][j])
{
ans = array[i][j];
}
}
}
printf("minimum value: %d", ans
); }
I2luY2x1ZGU8c3RkaW8uaD4KaW50IG1haW4oKQp7CiAgICBpbnQgbixtOwogICAgc2NhbmYoIiVkICVkIiwgJm4sICZtKTsKICAgIHByaW50ZigiRW50ZXIgdmFsdWVzIG9mIG1hdHJpeDogXG4iKTsKCiAgICBpbnQgYXJyYXlbbl1bbV07CiAgICBmb3IoaW50IGk9MDsgaTxuOyBpKyspewogICAgICAgIGZvcihpbnQgaj0wOyBqPG07IGorKyl7CiAgICAgICAgICAgIHNjYW5mKCIlZCIsICZhcnJheVtpXVtqXSk7CiAgICAgICAgfQogICAgfQoKICAgIGludCBhbnMgPSA5OTk5OTsKICAgIGZvcihpbnQgaT0wOyBpPG47IGkrKyl7CiAgICAgICAgZm9yKGludCBqPTA7IGo8bTsgaisrKXsKICAgICAgICAgICAgaWYoYW5zID49IGFycmF5W2ldW2pdKQogICAgICAgICAgICB7CiAgICAgICAgICAgICAgICBhbnMgPSBhcnJheVtpXVtqXTsKICAgICAgICAgICAgfQogICAgICAgIH0KICAgIH0KICAgIHByaW50ZigibWluaW11bSB2YWx1ZTogJWQiLCBhbnMpOwp9Cgo=