Borderou de evaluare (job #1437486)
Utilizator | Data | 17 mai 2015 20:20:25 | |
---|---|---|---|
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 pairup(int)’:
user.cpp:12:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<graph[vertex].size();++i)
^
user.cpp: In function ‘int main()’:
user.cpp:37:37: error: ‘memset’ was not declared in this scope
memset(visited, 0, sizeof(visited));
^
user.cpp:26: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:27: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:28:31: 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:31:25: 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 !