Borderou de evaluare (job #2025889)
Utilizator | Data | 23 septembrie 2017 13:42:15 | |
---|---|---|---|
Problema | Critice | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void Ford_Fulkerson()’:
user.cpp:49:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0; i<G[N].size(); i++)
^
user.cpp: In function ‘int main()’:
user.cpp:78:27: error: invalid operands of types ‘const char [9]’ and ‘int’ to binary ‘operator&’
scanf("%d %d %d" &A, &B, &C);
^
user.cpp:91:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0; i<SOL.size(); i++)
^
user.cpp:73:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("critice.in", "r", stdin);
^
user.cpp:74:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("critice.out", "w", stdout);
^
user.cpp:75:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &N, &M);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !