| Problema | oop_3 | Operații I/O |
oop_3.in/oop_3.out
|
|---|---|---|---|
| Limita timp | 0.2 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
| Id soluție | #64519349 | Utilizator | |
| Fișier | oop_3.cpp | Dimensiune | 978 B |
| Data încărcării | 12 Mai 2026, 11:10 | Scor/rezultat | 0 puncte |
In member function ‘int Stiva::Top()’, inlined from ‘int main()’ at oop_3.cpp:72:32: oop_3.cpp:26:25: warning: ‘w’ may be used uninitialized [-Wmaybe-uninitialized] 26 | return st[vf]; | ^ oop_3.cpp: In function ‘int main()’: oop_3.cpp:59:11: note: ‘w’ declared here 59 | Stiva w; | ^ In member function ‘int Stiva::Max()’, inlined from ‘int main()’ at oop_3.cpp:74:32: oop_3.cpp:39:21: warning: ‘w’ may be used uninitialized [-Wmaybe-uninitialized] 39 | maxi=st[vf]; | ~~~~^~~~~~~ oop_3.cpp: In function ‘int main()’: oop_3.cpp:59:11: note: ‘w’ declared here 59 | Stiva w; | ^
| Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
|---|---|---|---|---|---|---|
| 1 | 0.004 secunde | Raspuns gresit. | 10 | 0 | Exemplu | |
| 2 | 0.008 secunde | Raspuns gresit. | 10 | 0 | ||
| 3 | 0.003 secunde | Raspuns gresit. | 10 | 0 | ||
| 4 | 0.004 secunde | Raspuns gresit. | 20 | 0 | ||
| 5 | 0.007 secunde | Raspuns gresit. | 20 | 0 | ||
| 6 | 0.025 secunde | Raspuns gresit. | 20 | 0 | ||
| 7 | 0.004 secunde | Raspuns gresit. | 10 | 0 | ||
| Punctaj total | 0 | |||||
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema oop_3 face parte din a doua categorie. Pentru aceste probleme se folosește un program suport, furnizat de propunătorul problemei. 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ă.