Borderou de evaluare (job #2554157)
Utilizator | Data | 22 februarie 2020 17:12:13 | |
---|---|---|---|
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 BF()':
main.cpp:26:28: error: 'memset' was not declared in this scope
memset(viz, 0, sizeof(viz));
^
main.cpp:33:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j = 0; j < G[nod].sz; j++)
^
main.cpp: In function 'int main()':
main.cpp:64:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < G[N].sz; i++)
^
main.cpp:48:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("maxflow.in", "r", stdin);
^
main.cpp:49:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("maxflow.out", "w", stdout);
^
main.cpp:53:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d ", &N, &M);
^
main.cpp:57:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d ", &x, &y, &z);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !