#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 | #64799666 | Utilizator | |
| Fișier | gasti.cpp | Dimensiune | 1.13 KB |
| Data încărcării | 02 Iunie 2026, 10:07 | Scor/rezultat | 100 puncte |
gasti.cpp: In function ‘int main()’: gasti.cpp:44:15: warning: ‘nr2max’ may be used uninitialized [-Wmaybe-uninitialized] 44 | nr2max++; | ~~~~~~^~ gasti.cpp:20:42: note: ‘nr2max’ was declared here 20 | int n, m, i, x, y, pmax, p2max, nrmax, nr2max, nrg; | ^~~~~~
| Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
|---|---|---|---|---|---|---|
| 1 | 0.003 secunde | Corect ambele! | 10 | 10 | ||
| 2 | 0.003 secunde | Corect ambele! | 10 | 10 | ||
| 3 | 0.005 secunde | Corect ambele! | 10 | 10 | ||
| 4 | 0.003 secunde | Corect ambele! | 10 | 10 | ||
| 5 | 0.015 secunde | Corect ambele! | 10 | 10 | ||
| 6 | 0.034 secunde | Corect ambele! | 10 | 10 | ||
| 7 | 0.026 secunde | Corect ambele! | 10 | 10 | ||
| 8 | 0.035 secunde | Corect ambele! | 10 | 10 | ||
| 9 | 0.059 secunde | Corect ambele! | 10 | 10 | ||
| 10 | 0.086 secunde | Corect ambele! | 10 | 10 | ||
| Punctaj total | 100 | |||||
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ă.