Borderou de evaluare (job #2855218)
Utilizator | Cadar Mihnea MihneaCadar101 | Data | 22 februarie 2022 11:08:07 |
---|---|---|---|
Problema | Cel mai lung subsir comun | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:17:13: error: 'dp' was not declared in this scope; did you mean 'd'?
17 | dp[i][j] = dp[i - 1][j - 1] + 1;
| ^~
| d
main.cpp:19:13: error: 'dp' was not declared in this scope; did you mean 'd'?
19 | dp[i][j] = max(dp[i][j - 1], dp[i - 1]);
| ^~
| d
main.cpp:26:14: error: 'maxi' was not declared in this scope
26 | sir[maxi] = v1[i];
| ^~~~
main.cpp:31:16: error: 'dp' was not declared in this scope; did you mean 'd'?
31 | else if (dp[i][j - 1] > dp[i - 1][j])
| ^~
| d
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !