Detalii evaluare #60449724

Rezumat problemă

#2556

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
Fișiere Pracsiu Dan (dnprx) Ciprian Cheșcă concurs

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 #60449724 Utilizator Natri Alexia (Alerr44)
Fișier hn.cpp Dimensiune 1.79 KB
Data încărcării 02 Noiembrie 2025, 03:29 Scor/rezultat 0 puncte

Evaluare

Mesaj compilare


Rezultat evaluare

Test Timp Mesaj evaluare Scor posibil Scor obținut
0 0 secunde Exited with error status 52 9 0
1 0 secunde Exited with error status 49 11 0
2 0 secunde Exited with error status 51 13 0
3 0 secunde Exited with error status 53 2 0
4 0 secunde Exited with error status 57 2 0
5 0 secunde Exited with error status 49 2 0
6 0 secunde Exited with error status 51 3 0
7 0 secunde Exited with error status 52 3 0
8 0 secunde Exited with error status 53 3 0
9 0 secunde Exited with error status 55 3 0
10 0 secunde Exited with error status 56 4 0
11 0 secunde Exited with error status 57 4 0
12 0 secunde Exited with error status 49 4 0
13 0 secunde Exited with error status 49 3 0
14 0 secunde Exited with error status 50 3 0
15 0 secunde Exited with error status 50 3 0
16 0 secunde Exited with error status 50 3 0
17 0 secunde Exited with error status 51 3 0
18 0 secunde Exited with error status 52 3 0
19 0 secunde Exited with error status 52 3 0
20 0 secunde Exited with error status 53 3 0
21 0 secunde Exited with error status 54 3 0
22 0 secunde Exited with error status 55 3 0
23 0 secunde Exited with error status 56 3 0
24 0 secunde Exited with error status 57 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ă.

Du-te sus!