Borderou de evaluare (job #831555)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Drenaj (clasa a 10-a) | Compilator | cpp-32 |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 23 iul. 2025 22:54:53 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:124:17: error: 'memset' was not declared in this scope
124 | memset(dist, false, sizeof dist);
| ^~~~~~
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>