| 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 | #64909449 | Utilizator | |
| Fișier | oop_3.cpp | Dimensiune | 562 B |
| Data încărcării | 11 Iunie 2026, 18:17 | Scor/rezultat | Eroare de compilare |
oop_3.cpp:63:2: error: expected ‘}’ at end of input 63 | } | ^ oop_3.cpp:5:1: note: to match this ‘{’ 5 | { | ^ oop_3.cpp: In member function ‘int Stiva::Max()’: oop_3.cpp:32:14: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse] 32 | int Empty() | ^~ oop_3.cpp:32:14: note: remove parentheses to default-initialize a variable 32 | int Empty() | ^~ | -- oop_3.cpp:32:14: note: or replace parentheses with braces to value-initialize a variable oop_3.cpp:33:5: error: a function-definition is not allowed here before ‘{’ token 33 | { | ^ oop_3.cpp: At global scope: oop_3.cpp:63:2: error: expected unqualified-id at end of input 63 | } | ^
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ă.