Borderou de evaluare (job #716254)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Expr (clasele 7-8) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 23 apr. 2023 10:52:46 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:15:5: error: ISO C++ forbids declaration of 'Resize' with no type [-fpermissive]
15 | Resize(size_t new_capacity)
| ^~~~~~
main.cpp: In member function 'int Vec<T>::Resize(size_t)':
main.cpp:26:5: warning: no return statement in function returning non-void [-Wreturn-type]
26 | }
| ^