Detalii evaluare #64468728

Rezumat problemă

#4086

Se dă un șir a1, a2, …, an de numere naturale nenule. Să se determine răspunsul pentru una din următoarele cerințe:

  • Cel mai mare divizor comun al celor n numere.
  • Cel mai mare divizor comun care se poate obține alegând exact n-1 elemente din șir.
  • Cel mai mare divizor comun care se poate obține alegând exact n-2 elemente din șir.

Detalii

Problema cmmdc5 Operații I/O cmmdc.in/cmmdc.out
Limita timp 0.5 secunde Limita memorie Total: 128 MB / Stivă 64 MB
Id soluție #64468728 Utilizator 🤑🤑 Matei (BMM33)
Fișier cmmdc5.py3 Dimensiune 656 B
Data încărcării 08 Mai 2026, 15:38 Scor/rezultat 0 puncte

Evaluare

Mesaj compilare



Rezultat evaluare

Test Timp Mesaj evaluare Scor posibil Scor obținut
1 0.018 secunde Exited with error status 1 4 0
2 0.028 secunde Exited with error status 1 4 0
3 0.018 secunde Exited with error status 1 4 0
4 0.019 secunde Exited with error status 1 4 0
5 0.019 secunde Exited with error status 1 4 0
6 0.018 secunde Exited with error status 1 4 0
7 0.018 secunde Exited with error status 1 4 0
8 0.018 secunde Exited with error status 1 4 0
9 0.028 secunde Exited with error status 1 4 0
10 0.018 secunde Exited with error status 1 7 0
11 0.018 secunde Exited with error status 1 7 0
12 0.018 secunde Exited with error status 1 7 0
13 0.018 secunde Exited with error status 1 7 0
14 0.029 secunde Exited with error status 1 7 0
15 0.021 secunde Exited with error status 1 7 0
16 0.03 secunde Exited with error status 1 2 0
17 0.019 secunde Exited with error status 1 2 0
18 0.018 secunde Exited with error status 1 2 0
19 0.03 secunde Exited with error status 1 2 0
20 0.018 secunde Exited with error status 1 2 0
21 0.018 secunde Exited with error status 1 2 0
22 0.026 secunde Exited with error status 1 2 0
23 0.018 secunde Exited with error status 1 2 0
24 0.029 secunde Exited with error status 1 2 0
25 0.025 secunde Exited with error status 1 2 0
26 0.029 secunde Exited with error status 1 2 0
Punctaj total 0

Cum funcționează evaluarea?

www.pbinfo.ro permite evaluarea a două tipuri de probleme:

  • probleme la care rezolvarea presupune scrierea unui program complet
  • probleme la care rezolvarea presupune scrierea unei secvențe de program - câteva instrucțiuni, o listă de declarații, una sau mai multe funcții, etc.

Problema cmmdc5 face parte din prima categorie. Soluția propusă de tine va fi evaluată astfel:

  • Programul sursă este compilat folosind compilatorul corespunzător. Dacă în urma compilării se obțin erori sau avertismente, acestea sunt afișate în această pagină.
  • Dacă programul a fost compilat, executabilul obținut va fi rulat, furnizându-i-se unul sau mai multe seturi de date de intrare, în concordanță cu restricțiile specifice problemei. Pentru fiecare set de date se obține un anumit punctaj, în raport cu corectitudinea soluției tale.

Suma punctajelor acordate pe testele utilizate pentru verificare este 100. Astfel, soluția ta poate obține cel mult 100 de puncte, caz în care se poate considera corectă.

Du-te sus!