Borderou de evaluare (job #632597)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Porumbei (clasele 11-12) | Compilator | cpp-32 |
Rundă | cex_gj11_12_2 | Status | evaluat |
Dată | 13 feb. 2022 13:15:45 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:39:9: error: 'memset' was not declared in this scope
39 | memset(ap, 0, n+1);
| ^~~~~~
main.cpp:4:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
3 | #include <vector>
+++ |+#include <cstring>
4 | using namespace std;