Borderou de evaluare (job #2955626)
Utilizator | Data | 17 decembrie 2022 14:37:32 | |
---|---|---|---|
Problema | Flux maxim | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In member function 'bool flux::bfs()':
main.cpp:110:13: error: 'memset' was not declared in this scope
110 | memset(viz, false, sizeof(viz));
| ^~~~~~
main.cpp:6:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
5 | #include <algorithm>
+++ |+#include <cstring>
6 |
main.cpp: In function 'int main()':
main.cpp:150:15: warning: unused variable 'start' [-Wunused-variable]
150 | int n, m, start, end;
| ^~~~~
main.cpp:150:22: warning: unused variable 'end' [-Wunused-variable]
150 | int n, m, start, end;
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !