Borderou de evaluare (job #2967503)
Utilizator | Data | 19 ianuarie 2023 18:18:55 | |
---|---|---|---|
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 maxFlow(int, int)':
main.cpp:48:9: error: 'memset' was not declared in this scope
48 | memset(vizitat, MAX, false);
| ^~~~~~
main.cpp:9:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
8 | #include <queue>
+++ |+#include <cstring>
9 |
main.cpp:49:54: error: 'INT_MAX' was not declared in this scope
49 | int newFlow = getPath(startNode, endNode, 0, INT_MAX);
| ^~~~~~~
main.cpp:9:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
8 | #include <queue>
+++ |+#include <climits>
9 |
main.cpp: In function 'int main()':
main.cpp:70:5: warning: statement has no effect [-Wunused-value]
70 | fin;
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !