Borderou de evaluare (job #832972)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Inundație2 (clasa a 10-a) | Compilator | cpp-32 |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 22 aug. 2025 12:14:34 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'bool verif(int)':
main.cpp:39:9: error: 'memset' was not declared in this scope
39 | memset(drm, false, sizeof(drm));
| ^~~~~~
main.cpp:13:1: note: 'memset' is defined in header '<cstring>'; this is probably fixable by adding '#include <cstring>'
12 | #include <queue>
+++ |+#include <cstring>
13 | //#include <stack>
main.cpp: In function 'int main()':
main.cpp:79:9: error: 'memset' was not declared in this scope
79 | memset(mat, -1, sizeof(mat));
| ^~~~~~
main.cpp:79:9: note: 'memset' is defined in header '<cstring>'; this is probably fixable by adding '#include <cstring>'