Borderou de evaluare (job #1345052)
Utilizator | Data | 17 februarie 2015 11:02:41 | |
---|---|---|---|
Problema | Orase | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void MERGE(city*, int, int, int)’:
user.cpp:32:23: error: ‘INT_MAX’ was not declared in this scope
L[n1 + 1].distanta = INT_MAX;
^
user.cpp: In function ‘int main()’:
user.cpp:72:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d %d", &m, &n);
^
user.cpp:76:52: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d %d", &A[i].distanta, &A[i].lungime);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !