Detalii evaluare #61233784

Rezumat problemă

#4391

Se dau două șiruri de numere întregi \(a\) și \(b\) de lungime \(n\). Găsește un șir crescător de numere întregi \(c\), tot de lungime \(n\) astfel încât \(a_i \le c_i \le b_i\) pentru orice \(1 \le i \le n\). Dacă un astfel de șir nu există, afișează \(-1\).

Concursul Aurel Vlaicu 2023, clasele 5-8
Consola Todoran Alexandru (alextodoran) Alexandru Todoran concurs

Detalii

Problema Nirvana Operații I/O tastatură/ecran
Limita timp 1 secunde Limita memorie Total: 64 MB / Stivă 8 MB
Id soluție #61233784 Utilizator Lucar Lucas (Lucaarss32)
Fișier nirvana.cpp Dimensiune 1.81 KB
Data încărcării 22 Noiembrie 2025, 02:51 Scor/rezultat 0 puncte

Evaluare

Mesaj compilare


Rezultat evaluare

Test Timp Mesaj evaluare Scor posibil Scor obținut
1 0.328 secunde Exited with error status 51 3 0
1 0.328 secunde Exited with error status 51 3 0
2 0.328 secunde Exited with error status 52 3 0
2 0.328 secunde Exited with error status 52 3 0
3 0.324 secunde Exited with error status 51 3 0
3 0.328 secunde Exited with error status 51 3 0
4 0.324 secunde Exited with error status 51 3 0
4 0.324 secunde Exited with error status 51 3 0
4 0.34 secunde Exited with error status 51 3 0
5 0.296 secunde Exited with error status 50 3 0
5 0.296 secunde Exited with error status 50 3 0
5 0.312 secunde Exited with error status 50 3 0
6 0.288 secunde Exited with error status 53 3 0
6 0.288 secunde Exited with error status 53 3 0
6 0.3 secunde Exited with error status 53 3 0
7 0.04 secunde Exited with error status 51 4 0
7 0.04 secunde Exited with error status 51 4 0
7 0.04 secunde Exited with error status 51 4 0
8 0.208 secunde Exited with error status 53 4 0
8 0.208 secunde Exited with error status 53 4 0
8 0.216 secunde Exited with error status 53 4 0
9 0.236 secunde Exited with error status 32 4 0
9 0.236 secunde Exited with error status 32 4 0
9 0.248 secunde Exited with error status 32 4 0
10 0.368 secunde Exited with error status 52 7 0
10 0.352 secunde Exited with error status 52 7 0
10 0.352 secunde Exited with error status 52 7 0
11 0.344 secunde Exited with error status 51 7 0
11 0.352 secunde Exited with error status 51 7 0
11 0.368 secunde Exited with error status 51 7 0
12 0.276 secunde Exited with error status 32 8 0
12 0.272 secunde Exited with error status 32 8 0
12 0.296 secunde Exited with error status 32 8 0
13 0.28 secunde Exited with error status 51 8 0
13 0.28 secunde Exited with error status 51 8 0
13 0.292 secunde Exited with error status 51 8 0
14 0.316 secunde Exited with error status 55 4 0
14 0.316 secunde Exited with error status 55 4 0
14 0.328 secunde Exited with error status 55 4 0
15 0.316 secunde Exited with error status 56 4 0
15 0.316 secunde Exited with error status 56 4 0
15 0.328 secunde Exited with error status 56 4 0
16 0.316 secunde Exited with error status 51 4 0
16 0.332 secunde Exited with error status 51 4 0
16 0.316 secunde Exited with error status 51 4 0
17 0.316 secunde Exited with error status 51 4 0
17 0.312 secunde Exited with error status 51 4 0
17 0.328 secunde Exited with error status 51 4 0
18 0.268 secunde Exited with error status 32 4 0
18 0.256 secunde Exited with error status 32 4 0
18 0.256 secunde Exited with error status 32 4 0
19 0.264 secunde Exited with error status 55 4 0
19 0.252 secunde Exited with error status 55 4 0
19 0.26 secunde Exited with error status 55 4 0
20 0.12 secunde Exited with error status 50 4 0
20 0.12 secunde Exited with error status 50 4 0
20 0.12 secunde Exited with error status 50 4 0
21 0.276 secunde Exited with error status 32 4 0
21 0.272 secunde Exited with error status 32 4 0
21 0.272 secunde Exited with error status 32 4 0
22 0.228 secunde Exited with error status 32 4 0
22 0.228 secunde Exited with error status 32 4 0
22 0.216 secunde Exited with error status 32 4 0
23 0.172 secunde Exited with error status 51 4 0
23 0.164 secunde Exited with error status 51 4 0
23 0.176 secunde Exited with error status 51 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 Nirvana 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!