Detalii evaluare #44359016

Rezumat problemă

#2556 hn

Fie N un număr natural și expresia \( H_N = 1 + \frac{1}{2} + \frac{1}{3} + … + \frac{1}{N}\). Determinați numerele naturale P și Q ce reprezintă numărătorul respectiv numitorul fracției ireductibile \( H_N = \frac{P}{Q}\).

Balcaniada de Informatică 2018, ziua 1

Detalii

Problema hn Operații I/O hn.in/hn.out
Limita timp 0.2 secunde Limita memorie Total: 128 MB / Stivă 32 MB
Id soluție #44359016 Utilizator Ciobanu Andrei Mihai (krip68)
Fișier hn.py3 Dimensiune 338 B
Data încărcării 07 August 2023, 14:21 Scor / rezultat 0 puncte

Evaluare


Mesaj compilare



Rezultat evaluare

Test Timp Mesaj evaluare Scor posibil Scor obținut
0 0.016 secunde Exited with error status 1 9 0
1 0.016 secunde Exited with error status 1 11 0
2 0.012 secunde Exited with error status 1 13 0
3 0.016 secunde Exited with error status 1 2 0
4 0.016 secunde Exited with error status 1 2 0
5 0.02 secunde Exited with error status 1 2 0
6 0.028 secunde Exited with error status 1 3 0
7 0.044 secunde Exited with error status 1 3 0
8 0.072 secunde Exited with error status 1 3 0
9 0.132 secunde Exited with error status 1 3 0
10 0.176 secunde Exited with error status 1 4 0
11 0.228 secunde Exited with error status 1 4 0
12 0.352 secunde Exited with error status 1 4 0
13 0.352 secunde Exited with error status 1 3 0
14 0.352 secunde Exited with error status 1 3 0
15 0.352 secunde Exited with error status 1 3 0
16 0.352 secunde Exited with error status 1 3 0
17 0.352 secunde Exited with error status 1 3 0
18 0.352 secunde Exited with error status 1 3 0
19 0.352 secunde Exited with error status 1 3 0
20 0.352 secunde Exited with error status 1 3 0
21 0.352 secunde Exited with error status 1 3 0
22 0.352 secunde Exited with error status 1 3 0
23 0.352 secunde Exited with error status 1 3 0
24 0.352 secunde Exited with error status 1 4 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 hn 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ă.