Borderou de evaluare (job #1236837)
Utilizator | Data | 2 octombrie 2014 17:44:48 | |
---|---|---|---|
Problema | Cuplaj maxim in graf bipartit | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘bool dfs(int)’:
user.cpp:21:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < V[nod].size(); ++i)
^
user.cpp:27:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < V[nod].size(); ++i)
^
user.cpp: In function ‘int main()’:
user.cpp:53:29: error: ‘memset’ was not declared in this scope
memset(viz, 0, sizeof(viz));
^
user.cpp:37:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cuplaj.in", "r", stdin);
^
user.cpp:38:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cuplaj.out", "w", stdout);
^
user.cpp:40:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &m, &e);
^
user.cpp:44:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !