All public logs
Combined display of all available logs of Bitnami MediaWiki. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
- 18:34, 29 March 2023 Andor Giulia talk contribs created page 3998 - Sum Max 9 (Pagină nouă: == Rezolvare == <syntaxhighlight lang="python" line="1"> n = int(input("Introduceti numarul de perechi: ")) perechi = [] for i in range(n): a, b = map(int, input(f"Introduceti perechea {i+1}: ").split()) perechi.append((a, b)) suma_maxima = 0 for a, b in perechi: suma_maxima += max(a, b) print(f"Suma maxima este: {suma_maxima}") </syntaxhighlight>)