Borderou de evaluare (job #1503750)
Utilizator | Data | 16 octombrie 2015 21:02:09 | |
---|---|---|---|
Problema | Joc | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:57: error: ‘abs’ was not declared in this scope
D[i][j] = abs(A[i][j] - MAX(D[i - 1][j], D[i][j - 1]));
^
user.cpp:24:57: note: suggested alternative:
In file included from user.cpp:2:0:
/usr/include/c++/4.8/cmath:99:5: note: ‘std::abs’
abs(_Tp __x)
^
user.cpp:13:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d%d", &N, &M);
^
user.cpp:17:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &A[i][j]);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !