max = a[n][m]; for( i = 0; i < n; i++) { for( j = 0; j < m; j++) { for( k = 0; k < n; k++) { for( l = 0; l < m; l++) { if (a[i][j] == a[k][l]) { if(a[i][j] > max) { max = a[i][j]; break; } } } } } } printf("%d",a[i][j]); tell me what's wrong here
max = a[n][m]; for( i = 0; i < n; i++) { for( j = 0; j < m; j++) { for( k = 0; k < n; k++) { for( l = 0; l < m; l++) { if (a[i][j] == a[k][l]) { if(a[i][j] > max) { max = a[i][j]; break; } } } } } } printf("%d",a[i][j]); tell me what's wrong here
Source: https://ru.stackoverflow.com/questions/912718/
All Articles
is_in_matrix_more_once(). Joke :) Or do you seriously think that there is such a standard function? - Harrymax = a[n][m];- Igor