Borderou de evaluare (job #3196376)
Utilizator | Data | 23 ianuarie 2024 19:20:23 | |
---|---|---|---|
Problema | Flux maxim | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int bfs_lant(int, int)':
main.cpp:18:9: error: 'memset' was not declared in this scope
18 | memset(tata, 0, sizeof tata);
| ^~~~~~
main.cpp:6:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
5 | #include <queue>
+++ |+#include <cstring>
6 | using namespace std;
main.cpp: In function 'int bfs(int)':
main.cpp:40:9: error: 'memset' was not declared in this scope
40 | memset(tata, 0, sizeof tata);
| ^~~~~~
main.cpp:40:9: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !