Borderou de evaluare (job #1236832)
Utilizator | Data | 2 octombrie 2014 17:43:40 | |
---|---|---|---|
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:20:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < V[nod].size(); ++i)
^
user.cpp:26: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:52:29: error: ‘memset’ was not declared in this scope
memset(viz, 0, sizeof(viz));
^
user.cpp:36: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:37: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:39: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:43: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 !