#1462
| Problema | Gasti | Operații I/O |
gasti.in/gasti.out
|
|---|---|---|---|
| Limita timp | 0.5 secunde | Limita memorie |
Total: 16 MB
/
Stivă 4 MB
|
| Id soluție | #64400541 | Utilizator | |
| Fișier | gasti.cpp | Dimensiune | 2.38 KB |
| Data încărcării | 05 Mai 2026, 11:01 | Scor/rezultat | 74 puncte |
gasti.cpp: In function ‘int main()’: gasti.cpp:73:9: warning: ‘dimensiuni’ may be used uninitialized [-Wmaybe-uninitialized] 73 | int max1 = dimensiuni[0]; | ^~~~ gasti.cpp:42:9: note: ‘dimensiuni’ declared here 42 | int dimensiuni[100005], nr_comp = 0; | ^~~~~~~~~~ gasti.cpp:91:13: warning: ‘dimensiuni’ may be used uninitialized [-Wmaybe-uninitialized] 91 | int max2 = dimensiuni[cnt1]; | ^~~~ gasti.cpp:42:9: note: ‘dimensiuni’ declared here 42 | int dimensiuni[100005], nr_comp = 0; | ^~~~~~~~~~
| Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
|---|---|---|---|---|---|---|
| 1 | 0.001 secunde | Corect ambele! | 10 | 10 | ||
| 2 | 0.001 secunde | Corect ambele! | 10 | 10 | ||
| 3 | 0.003 secunde | Corect ambele! | 10 | 10 | ||
| 4 | Depășit | Limita de timp depășită | 10 | 0 | ||
| 5 | Depășit | Limita de timp depășită | 10 | 0 | ||
| 6 | 0.474 secunde | Corect ambele! | 10 | 10 | ||
| 7 | 0.015 secunde | Corect ambele! | 10 | 10 | ||
| 8 | 0.222 secunde | Corect ambele! | 10 | 10 | ||
| 9 | 0.058 secunde | Corect ambele! | 10 | 10 | ||
| 10 | 0.043 secunde | Corect prima, Gresit a doua! | 10 | 4 | ||
| Punctaj total | 74 | |||||
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Gasti 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ă.