Borderou de evaluare (job #1820415)
Utilizator | Data | 1 decembrie 2016 18:12:30 | |
---|---|---|---|
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 match(int)’:
user.cpp:17:15: error: ‘i’ was not declared in this scope
L[i] = it;
^
user.cpp:24:15: error: ‘i’ was not declared in this scope
L[i] = it;
^
user.cpp: In function ‘int main()’:
user.cpp:33:17: warning: unused variable ‘j’ [-Wunused-variable]
int n,m,e,i,j,x,y;
^
user.cpp:34:37: 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:35:39: 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:36:34: 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:38:31: 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 !