Informator maturalny informatyka

Informator CKE
Matura: informatyka

Rok: 2025-2026

Rok: 2023-2024

Rok: 2021 (zmiany w maturze)

Rok: 2015-2022

Rok: 2010 (aneks)

Rok: 2009-2014

Rok: 2008

Subscribe
Powiadom o
3 komentarzy
Inline Feedbacks
View all comments
Agnieszka

W najnowszym informatorze z informatyki jest podany rok 2024-25 a w opisie na stronie widzę rok późniejszy. Chyba pomyłka?

PiotrIII

Informator 2025 – zadanie 3.3 – nie trzeba robić z rekurencji (zresztą podane rozwiązanie jest niepełne i nieczytelne) – ot i całe zdanie poniżej – wynik 29

sorted_dane = sorted(dane,key = lambda x: x[2])#,reverse=True)

for i in range(len(sorted_dane)):
jest_dziecko = False
for j in range(i-1):
if sorted_dane[j][0] >= sorted_dane[i][0] and sorted_dane[j][1] <= sorted_dane[i][1]:
jest_dziecko = True
sorted_dane[i][3] = max(sorted_dane[j][3],sorted_dane[i][3])
if jest_dziecko:
sorted_dane[i][3] += 1

sorted_wyniki = sorted(sorted_dane, key=lambda x: x[3], reverse=True)