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 | #23066303 | Utilizator | |
Fișier | oop_3.cpp | Dimensiune | 448 B |
Data încărcării | 21 Mai 2020, 09:41 | Scor / rezultat | Eroare de compilare |
oop_3.cpp: In member function 'int stiva::pop()': oop_3.cpp:21:5: warning: no return statement in function returning non-void [-Wreturn-type] } ^ oop_3.cpp: In function 'int main()': oop_3.cpp:44:5: error: 'Stiva' was not declared in this scope Stiva w; ^ oop_3.cpp:44:11: error: expected ';' before 'w' Stiva w; ^ oop_3.cpp:52:13: error: 'w' was not declared in this scope w.Push(x); ^ oop_3.cpp:55:13: error: 'w' was not declared in this scope w.Pop(); ^ oop_3.cpp:57:21: error: 'w' was not declared in this scope fout << w.Top() << "\n"; ^ oop_3.cpp:59:21: error: 'w' was not declared in this scope fout << w.Max() << "\n"; ^
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ă.