Borderou de evaluare (job #1053200)
| Utilizator | Data | 12 decembrie 2013 15:16:10 | |
|---|---|---|---|
| Problema | Cel mai lung subsir comun | Status | done |
| Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.cpp:15:25: error: ‘Namx’ was not declared in this scope
int a[Nmax], b[Nmax], d[Namx][Nmax], sol[Nmax], best;
^
user.cpp: In function ‘int main()’:
user.cpp:19:8: error: ‘N’ was not declared in this scope
f>>N>>M;
^
user.cpp:19:11: error: ‘M’ was not declared in this scope
f>>N>>M;
^
user.cpp:21:35: error: ‘i’ was not declared in this scope
for (int j=1; j<=M; ++j) f>>b[i];
^
user.cpp:25:29: error: ‘d’ was not declared in this scope
if (a[i]==b[j]) d[i][j]=d[i-1][j-1]+1;
^
user.cpp:26:22: error: ‘d’ was not declared in this scope
else d[i][j]=max(d[i-1][j], d[i][j-1]);
^
user.cpp:30:22: error: ‘d’ was not declared in this scope
else if (d[i-1][j]<d[i][j-1]) --j;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
