#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
| Problema | Nirvana | Operații I/O |
tastatură/ecran
|
|---|---|---|---|
| Limita timp | 1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
| Id soluție | #61233488 | Utilizator | |
| Fișier | nirvana.cpp | Dimensiune | 1.81 KB |
| Data încărcării | 22 Noiembrie 2025, 02:33 | Scor/rezultat | 0 puncte |
| Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
|---|---|---|---|---|---|---|
| 1 | 0.34 secunde | Exited with error status 52 | 3 | 0 | ||
| 2 | 0.34 secunde | Exited with error status 32 | 3 | 0 | ||
| 3 | 0.336 secunde | Exited with error status 32 | 3 | 0 | ||
| 4 | 0.332 secunde | Exited with error status 32 | 3 | 0 | ||
| 5 | 0.308 secunde | Exited with error status 51 | 3 | 0 | ||
| 6 | 0.296 secunde | Exited with error status 57 | 3 | 0 | ||
| 7 | 0.04 secunde | Exited with error status 53 | 4 | 0 | ||
| 8 | 0.216 secunde | Exited with error status 48 | 4 | 0 | ||
| 9 | 0.244 secunde | Exited with error status 53 | 4 | 0 | ||
| 10 | 0.364 secunde | Exited with error status 52 | 7 | 0 | ||
| 11 | 0.368 secunde | Exited with error status 32 | 7 | 0 | ||
| 12 | 0.292 secunde | Exited with error status 50 | 8 | 0 | ||
| 13 | 0.3 secunde | Exited with error status 52 | 8 | 0 | ||
| 14 | 0.336 secunde | Exited with error status 32 | 4 | 0 | ||
| 15 | 0.34 secunde | Exited with error status 32 | 4 | 0 | ||
| 16 | 0.34 secunde | Exited with error status 32 | 4 | 0 | ||
| 17 | 0.336 secunde | Exited with error status 32 | 4 | 0 | ||
| 18 | 0.276 secunde | Exited with error status 32 | 4 | 0 | ||
| 19 | 0.276 secunde | Exited with error status 50 | 4 | 0 | ||
| 20 | 0.128 secunde | Exited with error status 32 | 4 | 0 | ||
| 21 | 0.284 secunde | Exited with error status 49 | 4 | 0 | ||
| 22 | 0.236 secunde | Exited with error status 32 | 4 | 0 | ||
| 23 | 0.164 secunde | Exited with error status 32 | 4 | 0 | ||
| Punctaj total | 0 | |||||
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Nirvana face parte din prima categorie. Soluția propusă de tine va fi evaluată astfel:
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ă.