Editing 0772 - Max Ap
Revision as of 18:36, 3 April 2023 by MiclausIoana (talk | contribs) (Pagină nouă: == Rezolvare == <syntaxhighlight lang="python" line="1"> n, m = map(int, input().split()) # citim n si m de la tastatura matrix = [] # initializam matricea for i in range(n): row = list(map(int, input().split())) # citim o linie a matricei matrix.append(row) # adaugam linia la matrice counts = {} # initializam un dictionar pentru a numara aparitiile elementelor max_count = 0 # initializam numarul maxim de aparitii la 0 for row in matrix: for elem in row:...)
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/0772_-_Max_Ap"