Borderou de evaluare (job #2585225)
Utilizator | Data | 18 martie 2020 20:17:58 | |
---|---|---|---|
Problema | Parantezare optima de matrici | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'long long unsigned int solve_podm(int, std::vector<int>&)':
main.cpp:9:81: error: 'INT_MAX' was not declared in this scope
vector<vector<unsigned long long>> dp(n + 1, vector<unsigned long long>(n + 1, INT_MAX));
^~~~~~~
main.cpp:16:25: error: 'd' was not declared in this scope
dp[i][i + 1] = 1ULL * d[i - 1] * d[i] * d[i + 1];
^
main.cpp:24:67: error: 'd' was not declared in this scope
unsigned long long new_sol = dp[i][k] + dp[k + 1][j] + 1ULL * d[i - 1] * d[k] * d[j];
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !