Borderou de evaluare (job #1766420)
Utilizator | Data | 27 septembrie 2016 22:07:50 | |
---|---|---|---|
Problema | A+B | 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:34:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = mh; j >= H[i]; j--){
^
user.cpp:41:50: error: ‘s’ was not declared in this scope
D[i][j] = D[i - 1][j - H[i]];s
^
user.cpp:42:21: error: expected ‘;’ before ‘Dh’
Dh[i][j] = Dh[i - 1][j - H[i]] + H[i];
^
user.cpp:45:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 1; j < H[i]; j++){
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !