Borderou de evaluare (job #1692367)
Utilizator | Data | 20 aprilie 2016 19:07:53 | |
---|---|---|---|
Problema | Flux maxim | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int BF()’:
user.cpp:26:31: error: ‘memset’ was not declared in this scope
memset(viz, 0, sizeof(viz));
^
user.cpp:8:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define sz size()
^
user.cpp:32:32: note: in expansion of macro ‘sz’
for (j = 0; j < G[nod].sz; j++)
^
user.cpp: In function ‘int main()’:
user.cpp:48:38: 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);
^
user.cpp:49:40: 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);
^
user.cpp:53:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d ", &N, &M);
^
user.cpp:57:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d ", &x, &y, &z);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !