Borderou de evaluare (job #3258199)
Utilizator | Data | 21 noiembrie 2024 15:55:38 | |
---|---|---|---|
Problema | Kgraf | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:9:12: error: 'l' does not name a type
9 | using ll = l
| ^
main.cpp: In function 'int main()':
main.cpp:33:17: error: 'dp' was not declared in this scope; did you mean 'dup'?
33 | dp[i][j][l] = -1e9;
| ^~
| dup
main.cpp:35:9: error: 'dp' was not declared in this scope; did you mean 'dup'?
35 | dp[i][1][1] = 0;
| ^~
| dup
main.cpp:53:21: error: 'dp' was not declared in this scope; did you mean 'dup'?
53 | dp[x][i][j] = max(dp[t][i][j], max(dp[t][i - 1][j] + c, max(dp[t][i][j - 1] - c, dp[t][i - 1][j - 1])));
| ^~
| dup
main.cpp:57:24: error: 'dp' was not declared in this scope; did you mean 'dup'?
57 | ans = max(ans, dp[i][k + 1][k + 1]);
| ^~
| dup
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !