Editing 0316 - Min Cols 2
Revision as of 17:57, 4 April 2023 by Andor Giulia (talk | contribs) (Pagină nouă: == Rezolvare == # citirea datelor de intrare m, n = map(int, input().split()) a = [] for i in range(m): row = list(map(int, input().split())) a.append(row) # determinarea valorii minime din matrice min_val = 10000 for i in range(m): for j in range(n): if a[i][j] < min_val: min_val = a[i][j] # înlocuirea elementelor de pe coloanele care conțin valoarea minimă cu valoarea minimă for j in range(n): col_min = 10000 for i in range(m):...)
Warning: You are editing an out-of-date revision of this page.
If you publish it, any changes made since this revision will be lost.
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
Retrieved from "http://wiki.universitas.ro/wiki/0316_-_Min_Cols_2"