Editing 0804 - Col Egale
Revision as of 19:34, 3 April 2023 by Andor Giulia (talk | contribs) (Pagină nouă: == Rezolvare == <syntaxhighlight lang="python" line="1"> m, n = map(int, input().split()) matrix = [] for i in range(m): row = list(map(int, input().split())) matrix.append(row) found = False for j in range(n): col = [matrix[i][j] for i in range(m)] if len(set(col)) == 1: print(col[0], end=' ') found = True if not found: print("nu exista") </syntaxhighlight>)
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/0804_-_Col_Egale"