Borderou de evaluare (job #2114939)
Utilizator | Data | 26 ianuarie 2018 09:11:59 | |
---|---|---|---|
Problema | Parantezare optima de matrici | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:5:21: error: expected initializer before ‘d’
long long n, a[505] d[505][505];
^
user.cpp: In function ‘int main()’:
user.cpp:10:12: error: ‘a’ was not declared in this scope
f>>a[i];
^
user.cpp:17:13: error: ‘d’ was not declared in this scope
d[i][j]=2000000000;
^
user.cpp:19:54: error: ‘a’ was not declared in this scope
d[i][j]=min(d[i][j], d[i][k]+d[k][j]+a[i]*a[k]*a[j]);
^
user.cpp:21:8: error: ‘d’ was not declared in this scope
g<<d[1][n+1];
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !